summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-12-15 13:44:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-12-15 13:44:53 +0000
commit18eb99b2bb7aecb7b564914762400a40d5df7840 (patch)
tree9da70cf854b5c53528f18d2e38c0051b589d053e
parent53e47701986a73834e08757242b4c20da101c18b (diff)
Protect va_copy with __ISO_C_VISIBLE as intended.
-rw-r--r--sys/arch/sparc/include/stdarg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/stdarg.h b/sys/arch/sparc/include/stdarg.h
index 5d8823939d9..bbddc6e4914 100644
--- a/sys/arch/sparc/include/stdarg.h
+++ b/sys/arch/sparc/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.10 2005/12/15 07:07:53 deraadt Exp $ */
+/* $OpenBSD: stdarg.h,v 1.11 2005/12/15 13:44:52 millert Exp $ */
/* $NetBSD: stdarg.h,v 1.10 1996/12/27 20:55:28 pk Exp $ */
/*
@@ -99,7 +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 __BSD_VISIBLE
+#if __ISO_C_VISIBLE >= 1999
#define va_copy(dest, src) \
((dest) = (src))
#endif