diff options
author | obrien <obrien@FreeBSD.org> | 2001-01-08 06:17:11 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-01-08 06:17:11 +0000 |
commit | 464d16ce94070f061dae18c92fd805ef476076c7 (patch) | |
tree | 052c32a1168898d6171a38788ae6fdca7c062149 /sys/alpha/include | |
parent | ff86256bf7f74eac72c4bd8a23d667579c672873 (diff) | |
download | FreeBSD-src-464d16ce94070f061dae18c92fd805ef476076c7.zip FreeBSD-src-464d16ce94070f061dae18c92fd805ef476076c7.tar.gz |
Remove seconds types we don't use that came in thru the NetBSD heiratage.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r-- | sys/alpha/include/ansi.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/alpha/include/ansi.h b/sys/alpha/include/ansi.h index 1c60857..a42b1ca 100644 --- a/sys/alpha/include/ansi.h +++ b/sys/alpha/include/ansi.h @@ -53,16 +53,19 @@ #define _BSD_PTRDIFF_T_ long /* ptr1 - ptr2 */ #define _BSD_SIZE_T_ unsigned long /* sizeof() */ #define _BSD_SSIZE_T_ long /* byte count or error */ -#define _BSD_SUSECONDS_T_ int /* suseconds_t */ #define _BSD_TIME_T_ int /* time() */ #define _BSD_TIMER_T_ int /* timer_t */ -#define _BSD_USECONDS_T_ unsigned int /* useconds_t */ + +#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC_MINOR__ > 95) +#define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */ +#else typedef struct { char *__base; int __offset; int __pad; } __va_list; #define _BSD_VA_LIST_ __va_list /* va_list */ +#endif /*__GNUC__*/ /* * Types which are fundamental to the implementation and must be used |