aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/stdarg.h
diff options
context:
space:
mode:
authornthnluu <nate1299@me.com>2024-01-28 21:20:27 -0500
committernthnluu <nate1299@me.com>2024-01-28 21:20:27 -0500
commitc63f340d90800895f007de64b7d2d14624263331 (patch)
tree2c0849fa597dd6da831c8707b6f2603403778d7b /kernel/include/stdarg.h
Created student weenix repository
Diffstat (limited to 'kernel/include/stdarg.h')
-rw-r--r--kernel/include/stdarg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/include/stdarg.h b/kernel/include/stdarg.h
new file mode 100644
index 0000000..ea7b872
--- /dev/null
+++ b/kernel/include/stdarg.h
@@ -0,0 +1,7 @@
+#pragma once
+
+typedef __builtin_va_list va_list;
+
+#define va_start(v, l) __builtin_va_start(v, l)
+#define va_end(v) __builtin_va_end(v)
+#define va_arg(v, l) __builtin_va_arg(v, l)