From e96ab5201e14d902ee921393e611434cecc47289 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 24 Aug 2025 22:54:46 +0900 Subject: feat: define va_end() as macro to avoid duplicate definition --- include/stdarg.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/stdarg.h') diff --git a/include/stdarg.h b/include/stdarg.h index 9995ae0..1d448f8 100644 --- a/include/stdarg.h +++ b/include/stdarg.h @@ -19,8 +19,6 @@ struct __ducc_va_list { typedef struct __ducc_va_list* va_list; #define va_start(args, start) __ducc_va_start(args, start) - -void va_end(va_list args) { -} +#define va_end(args) #endif -- cgit v1.2.3-70-g09d2