summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/stdarg.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-09 03:07:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-09 03:07:54 +0000
commit96af28e70eca24e66067eae1b00cfc51a58c9513 (patch)
tree4b9535df01b30ad946f08248b98da0b67c641e54 /sys/arch/sparc64/include/stdarg.h
parent64c374962577b0b1efc3c9c7d82a1111f5313f5b (diff)
#ifdef lint wraps for va_start
Diffstat (limited to 'sys/arch/sparc64/include/stdarg.h')
-rw-r--r--sys/arch/sparc64/include/stdarg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/stdarg.h b/sys/arch/sparc64/include/stdarg.h
index cd01cc9b967..a8d36aac808 100644
--- a/sys/arch/sparc64/include/stdarg.h
+++ b/sys/arch/sparc64/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.5 2006/01/06 18:53:05 millert Exp $ */
+/* $OpenBSD: stdarg.h,v 1.6 2006/04/09 03:07:53 deraadt Exp $ */
/* $NetBSD: stdarg.h,v 1.11 2000/07/23 21:36:56 mycroft Exp $ */
/*
@@ -55,8 +55,12 @@
typedef __va_list va_list;
+#ifdef lint
+#define va_start(ap,lastarg) ((ap) = (ap))
+#else
#define va_start(ap, last) \
(__builtin_next_arg(last), (ap) = (va_list)__builtin_saveregs())
+#endif /* lint */
#if __BSD_VISIBLE
#define va_copy(dest, src) \