summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-07 05:35:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-07 05:35:23 +0000
commit3857147d6a1aa93914249de2b2cc14437b8654cf (patch)
tree9f221aabf5c4f61c4b06f813af971aaf6e2a255b /sys
parentc1384655c399d628eb4a5101c06b1d798ad50d5a (diff)
uint*_t types from new POSIX, ick, yuck, bletch; cmetz
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h
index 9ba246f0123..ee49d414b73 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: types.h,v 1.12 1997/11/30 18:50:18 millert Exp $ */
+/* $OpenBSD: types.h,v 1.13 1999/01/07 05:35:22 deraadt Exp $ */
/* $NetBSD: types.h,v 1.29 1996/11/15 22:48:25 jtc Exp $ */
/*-
@@ -66,6 +66,11 @@ typedef u_int64_t u_quad_t; /* quads */
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
+typedef u_int8_t uint8_t;
+typedef u_int16_t uint16_t;
+typedef u_int32_t uint32_t;
+typedef u_int64_t uint64_t;
+
typedef char * caddr_t; /* core address */
typedef int32_t daddr_t; /* disk address */
typedef int32_t dev_t; /* device number */