diff options
author | bde <bde@FreeBSD.org> | 1998-07-14 05:09:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-14 05:09:48 +0000 |
commit | 55ddae5a80992ccb5383ea0c6f2f7055694716b7 (patch) | |
tree | 7658bd93d378ee99a6ee447cba3e12c7e55ab765 /sys/alpha | |
parent | 95415c676d9622fd2a2dda4dea047790c204c1eb (diff) | |
download | FreeBSD-src-55ddae5a80992ccb5383ea0c6f2f7055694716b7.zip FreeBSD-src-55ddae5a80992ccb5383ea0c6f2f7055694716b7.tar.gz |
Changed to the C9x draft spelling of the (unsigned) integral type
suitable for holding object pointers (ptrint_t -> uintptr_t).
Added corresponding signed type (intptr_t). Changed/added
corresponding non-C9x types for function pointers to match. Don't
use nonstandard types to implement these types, and don't comment
on them in <machine/types.h>.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/include/types.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/alpha/include/types.h b/sys/alpha/include/types.h index d9cb455..1bf185c 100644 --- a/sys/alpha/include/types.h +++ b/sys/alpha/include/types.h @@ -1,4 +1,4 @@ -/* $Id: types.h,v 1.6 1998/07/10 02:27:13 bde Exp $ */ +/* $Id: types.h,v 1.7 1998/07/10 02:34:50 bde Exp $ */ /* From: NetBSD: types.h,v 1.8 1997/04/06 08:47:45 cgd Exp */ /*- @@ -75,13 +75,11 @@ typedef int64_t register_t; typedef int32_t ufs_daddr_t; #ifdef KERNEL -/* An unsigned integral type that can hold object pointers. */ -typedef u_int64_t ptrint_t; - -/* An unsigned integral type that can hold function pointers. */ -typedef u_int64_t fptrint_t; - -typedef u_int64_t uoff_t; /* unsigned file offset */ +typedef long intfptr_t; +typedef unsigned long uintfptr_t; +typedef long intptr_t; +typedef unsigned long uintptr_t; +typedef unsigned long uoff_t; #endif /* Interrupt mask (spl, xxx_imask, etc) */ |