diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2019-12-12 15:55:37 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2019-12-12 15:55:37 +0000 |
commit | ec21f979bb84e447b9e25fc6bb627ee58c10af9f (patch) | |
tree | 3f92c96de9d2922e5cd05db2169403f081f27330 /sys | |
parent | b90b722a1d4be467a7a6a2e5f54ad79adbc8f269 (diff) |
Unhook <machine/stdarg.h> from <sys/stdarg.h>. Nowadays all the
compilers that OpenBSD provides have builtins for vararg routines
and use the machine-independent definitions in <sys/stdarg.h>.
Input from miod@
OK millert@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/stdarg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/stdarg.h b/sys/sys/stdarg.h index ee2090090bc..7b9b403752b 100644 --- a/sys/sys/stdarg.h +++ b/sys/sys/stdarg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdarg.h,v 1.8 2011/03/02 18:31:58 matthew Exp $ */ +/* $OpenBSD: stdarg.h,v 1.9 2019/12/12 15:55:36 visa Exp $ */ /* * Copyright (c) 2003, 2004 Marc espie <espie@openbsd.org> * @@ -41,7 +41,7 @@ typedef __builtin_va_list __gnuc_va_list; typedef __gnuc_va_list va_list; #else -#include <machine/stdarg.h> +#error "unsupported compiler" #endif #if __ISO_C_VISIBLE >= 1999 |