aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-24 19:42:06 -0400
committerIan Moffett <ian@osmora.org>2024-04-24 19:42:06 -0400
commit0dd63753b6e8c3cbcc1a790c3c6ecd40d8320048 (patch)
treedb580747074335bdba38ecbbd096f8593b0e3347
parent97d888144dc6c4773bb5310cc2bd68f06c9d88ee (diff)
libc: stdarg: Fix va_end()
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--lib/libc/include/stdarg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/include/stdarg.h b/lib/libc/include/stdarg.h
index ef09141..ef24495 100644
--- a/lib/libc/include/stdarg.h
+++ b/lib/libc/include/stdarg.h
@@ -35,7 +35,7 @@
typedef __builtin_va_list va_list;
#define va_start(v, l) __builtin_va_start(v, l)
-#define va_end(v, l) __builtin_va_end(v, l)
+#define va_end(v) __builtin_va_end(v)
#define va_arg(v, l) __builtin_va_arg(v, l)
#define va_copy(v, l) __builtin_va_copy(v, l)