mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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