Module Name: src
Committed By: matt
Date: Wed Jun 17 13:52:51 UTC 2015
Modified Files:
src/sys/arch/mips/include: ansi.h
src/sys/arch/powerpc/include: ansi.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/mips/include/ansi.h
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/powerpc/include/ansi.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/ansi.h
diff -u src/sys/arch/mips/include/ansi.h:1.28 src/sys/arch/mips/include/ansi.h:1.29
--- src/sys/arch/mips/include/ansi.h:1.28 Sun Jul 17 20:54:43 2011
+++ src/sys/arch/mips/include/ansi.h Wed Jun 17 13:52:51 2015
@@ -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() */
Index: src/sys/arch/powerpc/include/ansi.h
diff -u src/sys/arch/powerpc/include/ansi.h:1.29 src/sys/arch/powerpc/include/ansi.h:1.30
--- src/sys/arch/powerpc/include/ansi.h:1.29 Sun Jul 17 20:54:45 2011
+++ src/sys/arch/powerpc/include/ansi.h Wed Jun 17 13:52:51 2015
@@ -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() */