summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2015-06-17 13:52:51 +0000
committermatt <matt@NetBSD.org>2015-06-17 13:52:51 +0000
commit6907d6c2db58f376aaa461a9eb6ea29e75ecc8dc (patch)
treed728bb924cd7729de8946ff4a4709550cbf04285 /sys
parent04ca6127778ee87227d0414caea5e6a156b703b8 (diff)
Make _BSD_CLOCK_T_ unsigned int so it's the same for IPL32 and LP64
environments. We don't really have a powerpc64 native userland and the mips64 native userland is IPL32 so this shouldn't affect anything.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mips/include/ansi.h4
-rw-r--r--sys/arch/powerpc/include/ansi.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mips/include/ansi.h b/sys/arch/mips/include/ansi.h
index 463cbd3c438..2762318deb6 100644
--- a/sys/arch/mips/include/ansi.h
+++ b/sys/arch/mips/include/ansi.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ansi.h,v 1.28 2011/07/17 20:54:43 joerg Exp $ */
+/* $NetBSD: ansi.h,v 1.29 2015/06/17 13:52:51 matt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -46,7 +46,7 @@
* #undef _BSD_SIZE_T_
* #endif
*/
-#define _BSD_CLOCK_T_ unsigned long /* clock() */
+#define _BSD_CLOCK_T_ unsigned int /* clock() */
#ifndef __mips_o32
#define _BSD_PTRDIFF_T_ long /* ptr1 - ptr2 */
#define _BSD_SIZE_T_ unsigned long /* sizeof() */
diff --git a/sys/arch/powerpc/include/ansi.h b/sys/arch/powerpc/include/ansi.h
index 5f792b11ec9..8febc474229 100644
--- a/sys/arch/powerpc/include/ansi.h
+++ b/sys/arch/powerpc/include/ansi.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ansi.h,v 1.29 2011/07/17 20:54:45 joerg Exp $ */
+/* $NetBSD: ansi.h,v 1.30 2015/06/17 13:52:51 matt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -46,7 +46,7 @@
* #undef _BSD_SIZE_T_
* #endif
*/
-#define _BSD_CLOCK_T_ unsigned long /* clock() */
+#define _BSD_CLOCK_T_ unsigned int /* clock() */
#ifdef _LP64
#define _BSD_PTRDIFF_T_ long /* ptr1 - ptr2 */
#define _BSD_SIZE_T_ unsigned long /* sizeof() */