Rev 1819 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1819 | Rev 1888 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | * @{ |
30 | * @{ |
| 31 | */ |
31 | */ |
| 32 | /** @file |
32 | /** @file |
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| 35 | - | ||
| 36 | /* |
35 | /* |
| 37 | * Variable argument list manipulation macros |
36 | * Variable argument list manipulation macros |
| 38 | * for all architectures with compiler support for __builtin_va_*. |
37 | * for all architectures with compiler support for __builtin_va_*. |
| 39 | */ |
38 | */ |
| 40 | 39 | ||
| 41 | #ifndef __STDARG_H__ |
40 | #ifndef KERN_STDARG_H_ |
| 42 | #define __STDARG_H__ |
41 | #define KERN_STDARG_H_ |
| 43 | 42 | ||
| 44 | typedef __builtin_va_list va_list; |
43 | typedef __builtin_va_list va_list; |
| 45 | 44 | ||
| 46 | #define va_start(ap, last) __builtin_va_start(ap, last) |
45 | #define va_start(ap, last) __builtin_va_start(ap, last) |
| 47 | #define va_arg(ap, type) __builtin_va_arg(ap, type) |
46 | #define va_arg(ap, type) __builtin_va_arg(ap, type) |