diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-24 22:54:46 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-24 22:54:46 +0900 |
| commit | e96ab5201e14d902ee921393e611434cecc47289 (patch) | |
| tree | 6c6841a68a49859104b5370e4d7ea0b4f8e00a59 /include | |
| parent | 39031e84952db7d1f981c2c748558aacffc0a3e4 (diff) | |
| download | ducc-e96ab5201e14d902ee921393e611434cecc47289.tar.gz ducc-e96ab5201e14d902ee921393e611434cecc47289.tar.zst ducc-e96ab5201e14d902ee921393e611434cecc47289.zip | |
feat: define va_end() as macro to avoid duplicate definition
Diffstat (limited to 'include')
| -rw-r--r-- | include/stdarg.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 |
