In the __lint__ version of __builtin_va_arg(), apply the cast the

user specified.  Fixes build problem.
This commit is contained in:
he 2005-02-17 08:35:24 +00:00
parent 3b1c86cc41
commit 932c2bb115

View File

@ -1,4 +1,4 @@
/* $NetBSD: stdarg.h,v 1.7 2003/08/07 16:26:53 agc Exp $ */
/* $NetBSD: stdarg.h,v 1.8 2005/02/17 08:35:24 he Exp $ */
/*
* Copyright (c) 1991, 1993
@ -41,7 +41,7 @@ typedef _BSD_VA_LIST_ va_list;
#ifdef __lint__
#define __builtin_next_arg(t) ((t) ? 0 : 0)
#define __builtin_stdarg_start(a, l) ((a) = ((l) ? 0 : 0))
#define __builtin_va_arg(a, t) ((a) ? 0 : 0)
#define __builtin_va_arg(a, t) ((t)((a) ? 0 : 0))
#define __builtin_va_end /* nothing */
#define __builtin_va_copy(d, s) ((d) = (s))
#endif