diff options
author | jb <jb@FreeBSD.org> | 2007-11-19 07:34:57 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2007-11-19 07:34:57 +0000 |
commit | cce0b1d52a4e6f98c4bcd5fc411481dfffa64516 (patch) | |
tree | 30b3bf3063cd2f8dbb2f97401fbe5e92e1988db9 /sys/sun4v | |
parent | 6ea4f452e3cb5163fc3f2040fcd0c90b43411d9c (diff) | |
download | FreeBSD-src-cce0b1d52a4e6f98c4bcd5fc411481dfffa64516.zip FreeBSD-src-cce0b1d52a4e6f98c4bcd5fc411481dfffa64516.tar.gz |
__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).
Diffstat (limited to 'sys/sun4v')
-rw-r--r-- | sys/sun4v/include/stdarg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sun4v/include/stdarg.h b/sys/sun4v/include/stdarg.h index a7ff284..9e6cd94 100644 --- a/sys/sun4v/include/stdarg.h +++ b/sys/sun4v/include/stdarg.h @@ -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) |