mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
__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:
parent
66835de48d
commit
3aabc4d901
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173744
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue