diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-07-05 21:09:16 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-07-05 21:09:16 +0000 |
commit | 9798ee2f93a94f05d37ceb446355ea430eaefbea (patch) | |
tree | fa25bad4beaf0aa92709edc4e82ec2ad2f5cf5e1 /sys/arch/vax/include | |
parent | 7e384b023b87acba80d4cb452f17d7b563b4ed7d (diff) |
Make _BSD_TIME_T_ int32_t on all platforms. You can't write
lint-free code when these differ in name accross platforms.
Fundamnetal type has not changed (was int on alpha and long on others).
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r-- | sys/arch/vax/include/ansi.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/vax/include/ansi.h b/sys/arch/vax/include/ansi.h index f8dcb7f7f7c..f449725a209 100644 --- a/sys/arch/vax/include/ansi.h +++ b/sys/arch/vax/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.4 1997/05/29 00:04:34 niklas Exp $ */ +/* $OpenBSD: ansi.h,v 1.5 1997/07/05 21:09:14 millert Exp $ */ /* $NetBSD: ansi.h,v 1.5 1996/11/15 22:39:01 jtc Exp $ */ /*- @@ -50,16 +50,16 @@ * * Thanks, ANSI! */ -#define _BSD_CLOCK_T_ unsigned long /* clock() */ -#define _BSD_PTRDIFF_T_ int /* ptr1 - ptr2 */ -#define _BSD_SIZE_T_ unsigned int /* sizeof() */ -#define _BSD_SSIZE_T_ int /* byte count or error */ -#define _BSD_TIME_T_ long /* time() */ -#define _BSD_VA_LIST_ char * /* va_list */ -#define _BSD_WCHAR_T_ int /* wchar_t */ -#define _BSD_WINT_T_ int /* wint_t */ -#define _BSD_CLOCKID_T_ int -#define _BSD_TIMER_T_ int +#define _BSD_CLOCK_T_ unsigned long /* clock() */ +#define _BSD_PTRDIFF_T_ int /* ptr1 - ptr2 */ +#define _BSD_SIZE_T_ unsigned int /* sizeof() */ +#define _BSD_SSIZE_T_ int /* byte count or error */ +#define _BSD_TIME_T_ int32_t /* time() */ +#define _BSD_VA_LIST_ char * /* va_list */ +#define _BSD_WCHAR_T_ int /* wchar_t */ +#define _BSD_WINT_T_ int /* wint_t */ +#define _BSD_CLOCKID_T_ int +#define _BSD_TIMER_T_ int #endif /* _ANSI_H_ */ |