summaryrefslogtreecommitdiff
path: root/gpxe/src/include/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/include/stdarg.h')
-rw-r--r--gpxe/src/include/stdarg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gpxe/src/include/stdarg.h b/gpxe/src/include/stdarg.h
new file mode 100644
index 00000000..a4eb711d
--- /dev/null
+++ b/gpxe/src/include/stdarg.h
@@ -0,0 +1,10 @@
+#ifndef _STDARG_H
+#define _STDARG_H
+
+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 ) __builtin_va_end ( ap )
+#define va_copy( dest, src ) __builtin_va_copy ( dest, src )
+
+#endif /* _STDARG_H */