Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/_stdarg.h
Show All 35 Lines | |||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
#include <sys/_types.h> | #include <sys/_types.h> | ||||
#ifndef _VA_LIST_DECLARED | #ifndef _VA_LIST_DECLARED | ||||
#define _VA_LIST_DECLARED | #define _VA_LIST_DECLARED | ||||
typedef __va_list va_list; | typedef __va_list va_list; | ||||
#endif | #endif | ||||
#ifdef __GNUCLIKE_BUILTIN_STDARG | |||||
#define va_start(ap, last) __builtin_va_start((ap), (last)) | #define va_start(ap, last) __builtin_va_start((ap), (last)) | ||||
jhb: These lines should perhaps be unindented? Maybe as a followup. | |||||
Not Done Inline Actionsagreed. imp: agreed. | |||||
#define va_arg(ap, type) __builtin_va_arg((ap), type) | #define va_arg(ap, type) __builtin_va_arg((ap), type) | ||||
#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) | #define __va_copy(dest, src) __builtin_va_copy((dest), (src)) | ||||
#if __ISO_C_VISIBLE >= 1999 | #if __ISO_C_VISIBLE >= 1999 | ||||
#define va_copy(dest, src) __va_copy(dest, src) | #define va_copy(dest, src) __va_copy(dest, src) | ||||
#endif | #endif | ||||
#define va_end(ap) __builtin_va_end(ap) | #define va_end(ap) __builtin_va_end(ap) | ||||
#endif | |||||
#endif /* ! _SYS__STDARG_H_ */ | #endif /* ! _SYS__STDARG_H_ */ |
These lines should perhaps be unindented? Maybe as a followup.