summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/stdarg.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-12-30 05:01:37 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-12-30 05:01:37 +0000
commite707938ee54d291657561650400fae34c1403b14 (patch)
treee9cacb3b02ad925396397cfd70e404f18b1f9c61 /sys/arch/hppa/include/stdarg.h
parent8a5e33cc1aa57a9fbe22527e19dabae2c6073039 (diff)
add a simple __va_copy inside ifdef lint, from tim van der molen.
ok guenther
Diffstat (limited to 'sys/arch/hppa/include/stdarg.h')
-rw-r--r--sys/arch/hppa/include/stdarg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/stdarg.h b/sys/arch/hppa/include/stdarg.h
index 1fe03b6d9e6..9587297195e 100644
--- a/sys/arch/hppa/include/stdarg.h
+++ b/sys/arch/hppa/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.9 2008/10/23 21:25:07 kettenis Exp $ */
+/* $OpenBSD: stdarg.h,v 1.10 2010/12/30 05:01:36 tedu Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -41,6 +41,7 @@ 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,lastarg) ((ap) = (va_list)__builtin_saveregs())
#endif /* lint */