summaryrefslogtreecommitdiff
path: root/src/user/lib/include/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/include/stdarg.h')
-rw-r--r--src/user/lib/include/stdarg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/user/lib/include/stdarg.h b/src/user/lib/include/stdarg.h
new file mode 100644
index 0000000..5cd74ff
--- /dev/null
+++ b/src/user/lib/include/stdarg.h
@@ -0,0 +1,10 @@
+#ifndef DEF_STDARG_H
+#define DEF_STDARG_H
+
+#define va_start(v,l) __builtin_va_start(v,l)
+#define va_arg(v,l) __builtin_va_arg(v,l)
+#define va_end(v) __builtin_va_end(v)
+#define va_copy(d,s) __builtin_va_copy(d,s)
+typedef __builtin_va_list va_list;
+
+#endif