Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Make clock_t unsigned



details:   https://anonhg.NetBSD.org/src/rev/72a0185c8945
branches:  trunk
changeset: 809072:72a0185c8945
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jun 17 14:02:47 2015 +0000

description:
Make clock_t unsigned

diffstat:

 sys/arch/alpha/include/ansi.h   |  4 ++--
 sys/arch/sparc64/include/ansi.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 3fd6fcaff505 -r 72a0185c8945 sys/arch/alpha/include/ansi.h
--- a/sys/arch/alpha/include/ansi.h     Wed Jun 17 13:52:51 2015 +0000
+++ b/sys/arch/alpha/include/ansi.h     Wed Jun 17 14:02:47 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ansi.h,v 1.24 2011/07/17 20:54:36 joerg Exp $ */
+/* $NetBSD: ansi.h,v 1.25 2015/06/17 14:02:47 martin Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -47,7 +47,7 @@
  *     #undef  _BSD_SIZE_T_
  *     #endif
  */
-#define        _BSD_CLOCK_T_           int             /* clock() */
+#define        _BSD_CLOCK_T_           unsigned int    /* clock() */
 #define        _BSD_PTRDIFF_T_         long            /* ptr1 - ptr2 */
 #define        _BSD_SIZE_T_            unsigned long   /* sizeof() */
 #define        _BSD_SSIZE_T_           long            /* byte count or error */
diff -r 3fd6fcaff505 -r 72a0185c8945 sys/arch/sparc64/include/ansi.h
--- a/sys/arch/sparc64/include/ansi.h   Wed Jun 17 13:52:51 2015 +0000
+++ b/sys/arch/sparc64/include/ansi.h   Wed Jun 17 14:02:47 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ansi.h,v 1.17 2011/07/17 20:54:47 joerg Exp $ */
+/*     $NetBSD: ansi.h,v 1.18 2015/06/17 14:02:47 martin Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -46,7 +46,7 @@
  *     #undef  _BSD_SIZE_T_
  *     #endif
  */
-#define        _BSD_CLOCK_T_           int             /* clock() */
+#define        _BSD_CLOCK_T_           unsigned int    /* clock() */
 #define        _BSD_PTRDIFF_T_         long            /* ptr1 - ptr2 */
 #define        _BSD_SIZE_T_            unsigned long   /* sizeof() */
 #define        _BSD_SSIZE_T_           long            /* byte count or error */



Home | Main Index | Thread Index | Old Index