Module Name:    src
Committed By:   martin
Date:           Wed Jun 17 14:32:32 UTC 2015

Modified Files:
        src/sys/arch/hppa/include: ansi.h
        src/sys/arch/i386/include: ansi.h
        src/sys/arch/m68k/include: ansi.h
        src/sys/arch/sh3/include: ansi.h
        src/sys/arch/sparc/include: ansi.h
        src/sys/arch/usermode/include: ansi.h

Log Message:
Make clock_t unsigned int everywhere.
Ok: matt@, mrg@


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/hppa/include/ansi.h
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/i386/include/ansi.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/m68k/include/ansi.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sh3/include/ansi.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/sparc/include/ansi.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/usermode/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/hppa/include/ansi.h
diff -u src/sys/arch/hppa/include/ansi.h:1.13 src/sys/arch/hppa/include/ansi.h:1.14
--- src/sys/arch/hppa/include/ansi.h:1.13	Sun Jul 17 20:54:41 2011
+++ src/sys/arch/hppa/include/ansi.h	Wed Jun 17 14:32:31 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ansi.h,v 1.13 2011/07/17 20:54:41 joerg Exp $	*/
+/*	$NetBSD: ansi.h,v 1.14 2015/06/17 14:32:31 martin Exp $	*/
 
 /*	$OpenBSD: ansi.h,v 1.4 2000/02/22 17:29:12 millert Exp $	*/
 
@@ -48,7 +48,7 @@
  *	#undef	_BSD_SIZE_T_
  *	#endif
  */
-#define	_BSD_CLOCK_T_	unsigned long int	/* clock() */
+#define	_BSD_CLOCK_T_	unsigned int		/* clock() */
 #define	_BSD_PTRDIFF_T_	long int		/* ptr1 - ptr2 */
 #define	_BSD_SIZE_T_	unsigned long int	/* sizeof() */
 #define	_BSD_SSIZE_T_	long int		/* byte count or error */

Index: src/sys/arch/i386/include/ansi.h
diff -u src/sys/arch/i386/include/ansi.h:1.26 src/sys/arch/i386/include/ansi.h:1.27
--- src/sys/arch/i386/include/ansi.h:1.26	Tue Dec  9 14:39:49 2014
+++ src/sys/arch/i386/include/ansi.h	Wed Jun 17 14:32:31 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ansi.h,v 1.26 2014/12/09 14:39:49 pooka Exp $	*/
+/*	$NetBSD: ansi.h,v 1.27 2015/06/17 14:32:31 martin Exp $	*/
 
 /*-
  * Copyright (c) 1990, 1993
@@ -47,7 +47,7 @@
  *	#undef	_BSD_SIZE_T_
  *	#endif
  */
-#define	_BSD_CLOCK_T_		unsigned long	/* clock() */
+#define	_BSD_CLOCK_T_		unsigned int	/* clock() */
 #define	_BSD_PTRDIFF_T_		int		/* ptr1 - ptr2 */
 #define	_BSD_SIZE_T_		unsigned int	/* sizeof() */
 #define	_BSD_SSIZE_T_		int		/* byte count or error */

Index: src/sys/arch/m68k/include/ansi.h
diff -u src/sys/arch/m68k/include/ansi.h:1.23 src/sys/arch/m68k/include/ansi.h:1.24
--- src/sys/arch/m68k/include/ansi.h:1.23	Sun Jul 17 20:54:43 2011
+++ src/sys/arch/m68k/include/ansi.h	Wed Jun 17 14:32:31 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ansi.h,v 1.23 2011/07/17 20:54:43 joerg Exp $	*/
+/*	$NetBSD: ansi.h,v 1.24 2015/06/17 14:32:31 martin 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() */
 #define	_BSD_PTRDIFF_T_		int		/* ptr1 - ptr2 */
 #define	_BSD_SIZE_T_		unsigned int	/* sizeof() */
 #define	_BSD_SSIZE_T_		int		/* byte count or error */

Index: src/sys/arch/sh3/include/ansi.h
diff -u src/sys/arch/sh3/include/ansi.h:1.15 src/sys/arch/sh3/include/ansi.h:1.16
--- src/sys/arch/sh3/include/ansi.h:1.15	Sun Jul 17 20:54:47 2011
+++ src/sys/arch/sh3/include/ansi.h	Wed Jun 17 14:32:31 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ansi.h,v 1.15 2011/07/17 20:54:47 joerg Exp $	*/
+/*	$NetBSD: ansi.h,v 1.16 2015/06/17 14:32:31 martin Exp $	*/
 
 /*-
  * Copyright (c) 1990, 1993
@@ -45,7 +45,7 @@
  *	#undef	_BSD_SIZE_T_
  *	#endif
  */
-#define	_BSD_CLOCK_T_		unsigned long	/* clock() */
+#define	_BSD_CLOCK_T_		unsigned int	/* clock() */
 #define	_BSD_PTRDIFF_T_		int		/* ptr1 - ptr2 */
 #define	_BSD_SIZE_T_		unsigned int	/* sizeof() */
 #define	_BSD_SSIZE_T_		int		/* byte count or error */

Index: src/sys/arch/sparc/include/ansi.h
diff -u src/sys/arch/sparc/include/ansi.h:1.23 src/sys/arch/sparc/include/ansi.h:1.24
--- src/sys/arch/sparc/include/ansi.h:1.23	Sun Jul 17 20:54:47 2011
+++ src/sys/arch/sparc/include/ansi.h	Wed Jun 17 14:32:32 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ansi.h,v 1.23 2011/07/17 20:54:47 joerg Exp $ */
+/*	$NetBSD: ansi.h,v 1.24 2015/06/17 14:32:32 martin 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() */
 #define	_BSD_PTRDIFF_T_		long		/* ptr1 - ptr2 */
 #define	_BSD_SIZE_T_		unsigned long	/* sizeof() */
 #define	_BSD_SSIZE_T_		long		/* byte count or error */

Index: src/sys/arch/usermode/include/ansi.h
diff -u src/sys/arch/usermode/include/ansi.h:1.4 src/sys/arch/usermode/include/ansi.h:1.5
--- src/sys/arch/usermode/include/ansi.h:1.4	Sun Nov 10 19:52:01 2013
+++ src/sys/arch/usermode/include/ansi.h	Wed Jun 17 14:32:32 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: ansi.h,v 1.4 2013/11/10 19:52:01 jmcneill Exp $ */
+/* $NetBSD: ansi.h,v 1.5 2015/06/17 14:32:32 martin Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcne...@invisible.ca>
@@ -32,6 +32,7 @@
 #include <sys/cdefs.h>
 #include <machine/int_types.h>
 
+#define _BSD_CLOCK_T_		unsigned int
 #define _BSD_TIME_T_		__int64_t
 #define _BSD_CLOCKID_T_		int
 #define _BSD_TIMER_T_		int
@@ -41,17 +42,14 @@
 #define _BSD_WINT_T_		int
 
 #if defined(__i386__)
-#define _BSD_CLOCK_T_		unsigned long
 #define _BSD_PTRDIFF_T_		int
 #define _BSD_SIZE_T_		unsigned int
 #define _BSD_SSIZE_T_		int
 #elif defined(__x86_64__)
-#define _BSD_CLOCK_T_		unsigned int
 #define _BSD_PTRDIFF_T_		long
 #define _BSD_SIZE_T_		unsigned long
 #define _BSD_SSIZE_T_		long
 #elif defined(__arm__)
-#define _BSD_CLOCK_T_		unsigned int
 #define _BSD_PTRDIFF_T_		long int
 #define _BSD_SIZE_T_		unsigned long int
 #define _BSD_SSIZE_T_		long int

Reply via email to