summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-03-11 19:45:29 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-03-11 19:45:29 +0000
commit0ea3222fb70c596dc5798f2e1db2b6698354ada9 (patch)
treef103b881a4bb2aeafe44ea5251ff8d61c5249e91 /sys/arch/sparc64
parent24dc6033bb5e10e9a21d280b2d03080b5e7c06c2 (diff)
lint is gone, and the 'lint' conditional was never in the implementation
namespace, so stop changing behavior when it's #defined ok beck@ krw@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/include/stdarg.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/sparc64/include/stdarg.h b/sys/arch/sparc64/include/stdarg.h
index 9bd7855ce28..d69e93b6054 100644
--- a/sys/arch/sparc64/include/stdarg.h
+++ b/sys/arch/sparc64/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.9 2011/03/23 16:54:37 pirofti Exp $ */
+/* $OpenBSD: stdarg.h,v 1.10 2014/03/11 19:45:27 guenther Exp $ */
/* $NetBSD: stdarg.h,v 1.11 2000/07/23 21:36:56 mycroft Exp $ */
/*
@@ -47,21 +47,10 @@
#include <sys/cdefs.h>
#include <machine/_types.h>
-#ifdef __lint__
-#define __builtin_saveregs(t) (0)
-#define __builtin_classify_type(t) (0)
-#define __builtin_next_arg(t) ((t) ? 0 : 0)
-#endif
-
typedef __va_list va_list;
-#ifdef lint
-#define va_start(ap,lastarg) ((ap) = (ap))
-#define __va_copy(dst, src) ((dst) = (src))
-#else
#define va_start(ap, last) \
(__builtin_next_arg(last), (ap) = (va_list)__builtin_saveregs())
-#endif /* lint */
#define va_end(ap)