aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/inc/arg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libc/inc/arg.h')
-rw-r--r--libs/libc/inc/arg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/libc/inc/arg.h b/libs/libc/inc/arg.h
new file mode 100644
index 0000000..73e592d
--- /dev/null
+++ b/libs/libc/inc/arg.h
@@ -0,0 +1,11 @@
+// MIT License, Copyright (c) 2020 Marvin Borner
+
+#ifndef ARG_H
+#define ARG_H
+
+typedef __builtin_va_list va_list;
+#define va_start __builtin_va_start
+#define va_end __builtin_va_end
+#define va_arg __builtin_va_arg
+
+#endif