Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/include Fix lint stub for va_start so that lint...



details:   https://anonhg.NetBSD.org/src/rev/28bb8e57d6b8
branches:  trunk
changeset: 572499:28bb8e57d6b8
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Jan 05 23:39:51 2005 +0000

description:
Fix lint stub for va_start so that lint is actually happy about it.

diffstat:

 sys/arch/sh3/include/stdarg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 81467ae9ff1a -r 28bb8e57d6b8 sys/arch/sh3/include/stdarg.h
--- a/sys/arch/sh3/include/stdarg.h     Wed Jan 05 20:19:52 2005 +0000
+++ b/sys/arch/sh3/include/stdarg.h     Wed Jan 05 23:39:51 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stdarg.h,v 1.6 2003/04/28 23:16:23 bjh21 Exp $ */
+/* $NetBSD: stdarg.h,v 1.7 2005/01/05 23:39:51 uwe Exp $ */
 
 #ifndef _SH3_STDARG_H_
 #define        _SH3_STDARG_H_
@@ -9,7 +9,7 @@
 
 typedef        _BSD_VA_LIST_           va_list;        /* XXX */
 
-#define        va_start(a, l)          ((a) = ((l) ? 0 : 0))
+#define        va_start(a, l)          ((a) = ((l) ? (va_list)0 : (va_list)0))
 #define        va_arg(a, t)            ((a) ? (t)0 : (t)0)
 #define        va_end(a)               /* nothing */
 #define        __va_copy(d, s)         ((d) = (s))



Home | Main Index | Thread Index | Old Index