aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/varargs.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-10-06 22:02:06 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-10-06 22:02:06 +0000
commitddb056b7d4ce781bd224b0ad39b91d8944d5f4c9 (patch)
treeca6903df0e58804bc5eee0317f884aa8862f4ee2 /sys/sparc64/include/varargs.h
parent0b058e3cbdc5865f37c8b8d7147e56a97dd29c52 (diff)
downloadsrc-ddb056b7d4ce781bd224b0ad39b91d8944d5f4c9.tar.gz
src-ddb056b7d4ce781bd224b0ad39b91d8944d5f4c9.zip
Add conditionals to allow va_list to be defined in other headers.
Notes
Notes: svn path=/head/; revision=104584
Diffstat (limited to 'sys/sparc64/include/varargs.h')
-rw-r--r--sys/sparc64/include/varargs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/varargs.h b/sys/sparc64/include/varargs.h
index a93b89f105d1..7ee2a589554e 100644
--- a/sys/sparc64/include/varargs.h
+++ b/sys/sparc64/include/varargs.h
@@ -53,7 +53,11 @@
#include <sys/_types.h>
+#ifndef _VA_LIST_DECLARED
+#define _VA_LIST_DECLARED
typedef __va_list va_list;
+#endif
+
typedef int __builtin_va_alist_t __attribute__((__mode__(__word__)));
#define va_alist __builtin_va_alist