os_kernel_lab/related_info/lab5/lab5-spoc-discuss/libs/stdarg.h

13 lines
357 B
C
Raw Normal View History

2015-04-20 12:44:41 +08:00
#ifndef __LIBS_STDARG_H__
#define __LIBS_STDARG_H__
/* compiler provides size of save area */
typedef __builtin_va_list va_list;
#define va_start(ap, last) (__builtin_va_start(ap, last))
#define va_arg(ap, type) (__builtin_va_arg(ap, type))
#define va_end(ap) /*nothing*/
#endif /* !__LIBS_STDARG_H__ */