diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-14 16:30:04 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-14 16:30:04 +0000 |
commit | cc46846e928d590a18b99f4ef5b61957136d37d0 (patch) | |
tree | 79af737f0aeb6b910e298b2c20c4ea6ad99d2de2 | |
parent | 67f15be4ae25a9aa1f52d27a6c03ef773396c351 (diff) |
Make clock_t consistent across platforms as a 32 bit int. OK deraadt@
-rw-r--r-- | sys/arch/amd64/include/ansi.h | 2 | ||||
-rw-r--r-- | sys/arch/arm/include/ansi.h | 4 | ||||
-rw-r--r-- | sys/arch/hppa/include/ansi.h | 4 | ||||
-rw-r--r-- | sys/arch/i386/include/ansi.h | 4 | ||||
-rw-r--r-- | sys/arch/m68k/include/ansi.h | 4 | ||||
-rw-r--r-- | sys/arch/m88k/include/ansi.h | 4 | ||||
-rw-r--r-- | sys/arch/powerpc/include/ansi.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc/include/ansi.h | 4 | ||||
-rw-r--r-- | sys/arch/vax/include/ansi.h | 4 |
9 files changed, 17 insertions, 17 deletions
diff --git a/sys/arch/amd64/include/ansi.h b/sys/arch/amd64/include/ansi.h index 22d38425730..bed290fa130 100644 --- a/sys/arch/amd64/include/ansi.h +++ b/sys/arch/amd64/include/ansi.h @@ -47,7 +47,7 @@ * #undef _BSD_SIZE_T_ * #endif */ -#define _BSD_CLOCK_T_ unsigned int /* clock() */ +#define _BSD_CLOCK_T_ 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 --git a/sys/arch/arm/include/ansi.h b/sys/arch/arm/include/ansi.h index 4cf2f8954b4..70df704a389 100644 --- a/sys/arch/arm/include/ansi.h +++ b/sys/arch/arm/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.4 2004/02/05 13:42:19 drahn Exp $ */ +/* $OpenBSD: ansi.h,v 1.5 2005/12/14 16:30:03 millert Exp $ */ /* $NetBSD: ansi.h,v 1.4 2003/03/02 22:18:17 tshiozak Exp $ */ /* @@ -48,7 +48,7 @@ * #undef _BSD_SIZE_T_ * #endif */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_CLOCK_T_ 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 */ diff --git a/sys/arch/hppa/include/ansi.h b/sys/arch/hppa/include/ansi.h index 0c3a06fedf6..b1c2e88989c 100644 --- a/sys/arch/hppa/include/ansi.h +++ b/sys/arch/hppa/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.7 2005/04/14 20:56:24 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.8 2005/12/14 16:30:03 millert Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -43,7 +43,7 @@ * #undef _BSD_SIZE_T_ * #endif */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_CLOCK_T_ 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 */ diff --git a/sys/arch/i386/include/ansi.h b/sys/arch/i386/include/ansi.h index a0e2d0768d7..b766cfb8d04 100644 --- a/sys/arch/i386/include/ansi.h +++ b/sys/arch/i386/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.10 2005/04/14 20:56:24 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.11 2005/12/14 16:30:03 millert Exp $ */ /* $NetBSD: ansi.h,v 1.7 1996/11/15 22:38:50 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ * #undef _BSD_SIZE_T_ * #endif */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_CLOCK_T_ 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 */ diff --git a/sys/arch/m68k/include/ansi.h b/sys/arch/m68k/include/ansi.h index f068d138d80..cae10d363ea 100644 --- a/sys/arch/m68k/include/ansi.h +++ b/sys/arch/m68k/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.9 2005/04/14 20:56:24 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.10 2005/12/14 16:30:03 millert Exp $ */ /* $NetBSD: ansi.h,v 1.7 1996/11/15 22:38:52 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ * #undef _BSD_SIZE_T_ * #endif */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_CLOCK_T_ 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 */ diff --git a/sys/arch/m88k/include/ansi.h b/sys/arch/m88k/include/ansi.h index d5371472948..583b99f3e72 100644 --- a/sys/arch/m88k/include/ansi.h +++ b/sys/arch/m88k/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.2 2005/04/16 15:44:38 miod Exp $ */ +/* $OpenBSD: ansi.h,v 1.3 2005/12/14 16:30:03 millert Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -42,7 +42,7 @@ * #undef _BSD_SIZE_T_ * #endif */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_CLOCK_T_ 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 */ diff --git a/sys/arch/powerpc/include/ansi.h b/sys/arch/powerpc/include/ansi.h index fb9c463c87c..caa133c1d82 100644 --- a/sys/arch/powerpc/include/ansi.h +++ b/sys/arch/powerpc/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.13 2005/04/14 20:56:24 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.14 2005/12/14 16:30:03 millert Exp $ */ /* $NetBSD: ansi.h,v 1.2 1996/11/15 22:38:57 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ * #undef _BSD_SIZE_T_ * #endif */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_CLOCK_T_ 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 */ diff --git a/sys/arch/sparc/include/ansi.h b/sys/arch/sparc/include/ansi.h index 38afc6fc664..d2f2f7d6fe0 100644 --- a/sys/arch/sparc/include/ansi.h +++ b/sys/arch/sparc/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.10 2005/04/14 20:56:24 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.11 2005/12/14 16:30:03 millert Exp $ */ /* $NetBSD: ansi.h,v 1.6 1996/11/15 22:38:59 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ * #undef _BSD_SIZE_T_ * #endif */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_CLOCK_T_ 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 */ diff --git a/sys/arch/vax/include/ansi.h b/sys/arch/vax/include/ansi.h index 1c26916715f..cbff11c939b 100644 --- a/sys/arch/vax/include/ansi.h +++ b/sys/arch/vax/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.11 2005/04/14 20:56:24 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.12 2005/12/14 16:30:03 millert Exp $ */ /* $NetBSD: ansi.h,v 1.7 1998/04/27 17:39:11 kleink Exp $ */ /*- @@ -46,7 +46,7 @@ * * Thanks, ANSI! */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_CLOCK_T_ 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 */ |