summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-01-08 06:17:11 +0000
committerobrien <obrien@FreeBSD.org>2001-01-08 06:17:11 +0000
commit464d16ce94070f061dae18c92fd805ef476076c7 (patch)
tree052c32a1168898d6171a38788ae6fdca7c062149
parentff86256bf7f74eac72c4bd8a23d667579c672873 (diff)
downloadFreeBSD-src-464d16ce94070f061dae18c92fd805ef476076c7.zip
FreeBSD-src-464d16ce94070f061dae18c92fd805ef476076c7.tar.gz
Remove seconds types we don't use that came in thru the NetBSD heiratage.
-rw-r--r--sys/alpha/include/ansi.h7
-rw-r--r--sys/arm/include/ansi.h1
-rw-r--r--sys/ia64/include/ansi.h2
-rw-r--r--sys/powerpc/include/ansi.h1
4 files changed, 5 insertions, 6 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
diff --git a/sys/arm/include/ansi.h b/sys/arm/include/ansi.h
index 22e4379..b4a26a0 100644
--- a/sys/arm/include/ansi.h
+++ b/sys/arm/include/ansi.h
@@ -51,7 +51,6 @@
#define _BSD_PTRDIFF_T_ int /* ptr1 - ptr2 */
#define _BSD_SIZE_T_ unsigned int /* sizeof() */
#define _BSD_SSIZE_T_ long /* byte count or error */
-#define _BSD_SUSECONDS_T_ int /* suseconds_t */
#define _BSD_TIME_T_ long /* time() */
#define _BSD_TIMER_T_ int /* timer_t */
diff --git a/sys/ia64/include/ansi.h b/sys/ia64/include/ansi.h
index c4e1156..36797e4 100644
--- a/sys/ia64/include/ansi.h
+++ b/sys/ia64/include/ansi.h
@@ -56,8 +56,6 @@
#define _BSD_VA_LIST_ __builtin_va_list /* va_list */
#define _BSD_CLOCKID_T_ int /* clockid_t */
#define _BSD_TIMER_T_ int /* timer_t */
-#define _BSD_SUSECONDS_T_ int /* suseconds_t */
-#define _BSD_USECONDS_T_ unsigned int /* useconds_t */
/*
* Types which are fundamental to the implementation and must be used
diff --git a/sys/powerpc/include/ansi.h b/sys/powerpc/include/ansi.h
index 286233f..ff43b39 100644
--- a/sys/powerpc/include/ansi.h
+++ b/sys/powerpc/include/ansi.h
@@ -51,7 +51,6 @@
#define _BSD_PTRDIFF_T_ int /* ptr1 - ptr2 */
#define _BSD_SIZE_T_ unsigned int /* sizeof() */
#define _BSD_SSIZE_T_ long /* byte count or error */
-#define _BSD_SUSECONDS_T_ int /* suseconds_t */
#define _BSD_TIME_T_ long /* time() */
#define _BSD_TIMER_T_ int /* timer_t */
OpenPOWER on IntegriCloud