__builtin_stdarg_start was renamed to __builtin_va_start a long

time ago (2002 according to the gcc log). Using the proper name
fixes a warning in src/lib/libc/gen/ulimit.c about the second
argument of va_start() not being the last named (when it really
was).
This commit is contained in:
John Birrell 2007-11-19 07:34:57 +00:00
parent 66835de48d
commit 3aabc4d901
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173744

View file

@ -52,7 +52,7 @@ typedef __va_list va_list;
#ifdef __GNUCLIKE_BUILTIN_STDARG
#define va_start(ap, last) \
__builtin_stdarg_start((ap), (last))
__builtin_va_start((ap), (last))
#define va_arg(ap, type) \
__builtin_va_arg((ap), type)