diff options
author | dfr <dfr@FreeBSD.org> | 1998-09-26 10:48:50 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-09-26 10:48:50 +0000 |
commit | 236ad5eb3ca90664e90a383de91faa975d35b8fc (patch) | |
tree | 989ae7fd62fa828548abf140a14e99223404b32b /lib/libstand/zalloc_defs.h | |
parent | 3833ff5964a8f10b3b3cf9cf15c3c52481429c9a (diff) | |
download | FreeBSD-src-236ad5eb3ca90664e90a383de91faa975d35b8fc.zip FreeBSD-src-236ad5eb3ca90664e90a383de91faa975d35b8fc.tar.gz |
* Enable old UFS compatibility code for booting from Digital Unix formatted
disks.
* Fix a whole raft of warnings, printf and otherwise.
* Make zalloc work for alpha (just a case of using the right typedef).
* Add some (disabled) malloc debug printing to stand.h.
Diffstat (limited to 'lib/libstand/zalloc_defs.h')
-rw-r--r-- | lib/libstand/zalloc_defs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libstand/zalloc_defs.h b/lib/libstand/zalloc_defs.h index d80d3a0..6a6e54d 100644 --- a/lib/libstand/zalloc_defs.h +++ b/lib/libstand/zalloc_defs.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: zalloc_defs.h,v 1.1 1998/09/26 01:42:39 msmith Exp $ */ /* @@ -43,8 +43,14 @@ #include <string.h> #include "stand.h" +#ifdef __i386__ typedef unsigned int iaddr_t; /* unsigned int same size as pointer */ typedef int saddr_t; /* signed int same size as pointer */ +#endif +#ifdef __alpha__ +typedef unsigned long iaddr_t; /* unsigned int same size as pointer */ +typedef long saddr_t; /* signed int same size as pointer */ +#endif #include "zalloc_mem.h" |