Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Use the correct version of va_arg() for...
details: https://anonhg.NetBSD.org/src/rev/99f2fa025303
branches: trunk
changeset: 519579:99f2fa025303
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Dec 20 20:29:09 2001 +0000
description:
Use the correct version of va_arg() for _STANDALONE.
diffstat:
sys/arch/arm/include/stdarg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c1039522395e -r 99f2fa025303 sys/arch/arm/include/stdarg.h
--- a/sys/arch/arm/include/stdarg.h Thu Dec 20 20:23:09 2001 +0000
+++ b/sys/arch/arm/include/stdarg.h Thu Dec 20 20:29:09 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stdarg.h,v 1.1 2001/01/10 19:02:07 bjh21 Exp $ */
+/* $NetBSD: stdarg.h,v 1.2 2001/12/20 20:29:09 thorpej Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -52,7 +52,7 @@
#define va_start(ap, last) \
((ap) = (va_list)__builtin_next_arg(last))
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_STANDALONE)
#define va_arg(ap, type) \
((type *)(ap += sizeof(type)))[-1]
#else
Home |
Main Index |
Thread Index |
Old Index