Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Make _BSD_CLOCK_T_ unsigned int so it's the same fo...
details: https://anonhg.NetBSD.org/src/rev/334b6be1638b
branches: trunk
changeset: 338929:334b6be1638b
user: matt <matt%NetBSD.org@localhost>
date: Wed Jun 17 13:52:51 2015 +0000
description:
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:
sys/arch/mips/include/ansi.h | 4 ++--
sys/arch/powerpc/include/ansi.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r baf1bba6276f -r 334b6be1638b sys/arch/mips/include/ansi.h
--- a/sys/arch/mips/include/ansi.h Wed Jun 17 11:48:06 2015 +0000
+++ b/sys/arch/mips/include/ansi.h Wed Jun 17 13:52:51 2015 +0000
@@ -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 -r baf1bba6276f -r 334b6be1638b sys/arch/powerpc/include/ansi.h
--- a/sys/arch/powerpc/include/ansi.h Wed Jun 17 11:48:06 2015 +0000
+++ b/sys/arch/powerpc/include/ansi.h Wed Jun 17 13:52:51 2015 +0000
@@ -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() */
Home |
Main Index |
Thread Index |
Old Index