summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc/include/stdarg.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-12-14 21:46:29 +0000
committermillert <millert@openbsd.org>2005-12-14 21:46:29 +0000
commit7c2ef5d93f45f65fadeedf5cb7a9c7f6ae5ff51e (patch)
treeae475f90bc5162adeb99c0690a3d0876cdc6a2e4 /sys/arch/sparc/include/stdarg.h
parentMy email address changed quite a while ago... (diff)
downloadwireguard-openbsd-7c2ef5d93f45f65fadeedf5cb7a9c7f6ae5ff51e.tar.xz
wireguard-openbsd-7c2ef5d93f45f65fadeedf5cb7a9c7f6ae5ff51e.zip
convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@
Diffstat (limited to 'sys/arch/sparc/include/stdarg.h')
-rw-r--r--sys/arch/sparc/include/stdarg.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/sparc/include/stdarg.h b/sys/arch/sparc/include/stdarg.h
index 69777779726..110ad7593dc 100644
--- a/sys/arch/sparc/include/stdarg.h
+++ b/sys/arch/sparc/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.7 2005/12/14 18:28:40 millert Exp $ */
+/* $OpenBSD: stdarg.h,v 1.8 2005/12/14 21:46:31 millert Exp $ */
/* $NetBSD: stdarg.h,v 1.10 1996/12/27 20:55:28 pk Exp $ */
/*
@@ -99,9 +99,7 @@ typedef _BSD_VA_LIST_ va_list;
*__va_arg(ap, type *) : __va_size(type) == 8 ? \
__va_8byte(ap, type) : __va_arg(ap, type))
-#if !defined(_ANSI_SOURCE) && \
- (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) || \
- defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L)
+#if __BSD_VISIBLE >= 1999
#define va_copy(dest, src) \
((dest) = (src))
#endif