summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-13 17:50:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-13 17:50:07 +0000
commit03c6e34031dca0e5942b1c2a8afadd4b0326194e (patch)
treedb8548659578162a57ac5668e79632982a96707f /sys/arch/mips64/include
parent05c637a0182e16f7dd5321988ac0642b43902c4d (diff)
Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst our
architectures. They are now defined as unsigned long, long, long and unsigned long respectively.
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/_types.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/mips64/include/_types.h b/sys/arch/mips64/include/_types.h
index e700741de2a..3d9ca5f2aab 100644
--- a/sys/arch/mips64/include/_types.h
+++ b/sys/arch/mips64/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.1 2006/01/06 18:50:09 millert Exp $ */
+/* $OpenBSD: _types.h,v 1.2 2006/01/13 17:50:06 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -102,15 +102,9 @@ typedef unsigned long __psize_t;
typedef int __clock_t;
typedef int __clockid_t;
typedef long long __off_t;
-#if defined(__LP64__)
typedef long __ptrdiff_t;
typedef unsigned long __size_t;
typedef long __ssize_t;
-#else
-typedef int __ptrdiff_t;
-typedef unsigned int __size_t;
-typedef int __ssize_t;
-#endif
typedef int __time_t;
typedef int __timer_t;
#if defined(__GNUC__) && __GNUC__ >= 3