summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDaniel Dickman <daniel@cvs.openbsd.org>2020-07-21 23:09:01 +0000
committerDaniel Dickman <daniel@cvs.openbsd.org>2020-07-21 23:09:01 +0000
commit67af9a0b189ec9b044e91b9d0b898f7e736d20a7 (patch)
tree4eda3c58a6eb47f69ef9299e369068d3764c9b42 /sys
parent890d0bf4e9f0cf34e51c8ace0dac0e2c9a0ae85b (diff)
The "unsupported compiler" checks were added back in December when
MD versions of these headers were unhooked. As nothing has hit those checks we can drop them at this point. ok visa@ and "makes sense" to millert@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/stdarg.h8
-rw-r--r--sys/sys/varargs.h7
2 files changed, 2 insertions, 13 deletions
diff --git a/sys/sys/stdarg.h b/sys/sys/stdarg.h
index 7b9b403752b..6309957b43c 100644
--- a/sys/sys/stdarg.h
+++ b/sys/sys/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.9 2019/12/12 15:55:36 visa Exp $ */
+/* $OpenBSD: stdarg.h,v 1.10 2020/07/21 23:09:00 daniel Exp $ */
/*
* Copyright (c) 2003, 2004 Marc espie <espie@openbsd.org>
*
@@ -20,8 +20,6 @@
#include <sys/cdefs.h>
-#if (defined(__GNUC__) && __GNUC__ >= 3) || defined(__PCC__)
-
/* Define __gnuc_va_list. */
#ifndef __GNUC_VA_LIST
@@ -40,10 +38,6 @@ typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
-#else
-#error "unsupported compiler"
-#endif
-
#if __ISO_C_VISIBLE >= 1999
#define va_copy(dst, src) __va_copy((dst), (src))
#endif
diff --git a/sys/sys/varargs.h b/sys/sys/varargs.h
index bdd161b9e8c..7814af93e96 100644
--- a/sys/sys/varargs.h
+++ b/sys/sys/varargs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: varargs.h,v 1.3 2019/12/07 06:55:20 visa Exp $ */
+/* $OpenBSD: varargs.h,v 1.4 2020/07/21 23:09:00 daniel Exp $ */
/*
* Copyright (c) 2003, 2004 Marc espie <espie@openbsd.org>
*
@@ -18,7 +18,6 @@
#ifndef _VARARGS_H_
#define _VARARGS_H_
-#if defined(__GNUC__) && __GNUC__ >= 3
/* These macros implement traditional (non-ANSI) varargs
for GNU C. */
@@ -49,8 +48,4 @@ typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
-#else
-#error "unsupported compiler"
-#endif
-
#endif /* _VARARGS_H_ */