aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-05 01:47:01 +0900
committernsfisis <nsfisis@gmail.com>2025-09-05 01:47:05 +0900
commit68251039083d21af43da11d76980e1ea426a3a4a (patch)
tree31183efbcb3a914d2fcacf1d3fbf28a2d071cecd /include
parent6e4010b7c14af83b15d28bc020fe601991d209d3 (diff)
downloadducc-68251039083d21af43da11d76980e1ea426a3a4a.tar.gz
ducc-68251039083d21af43da11d76980e1ea426a3a4a.tar.zst
ducc-68251039083d21af43da11d76980e1ea426a3a4a.zip
feat: make va_list definition compatible with GCC's
Diffstat (limited to 'include')
-rw-r--r--include/stdarg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/stdarg.h b/include/stdarg.h
index 95c068c..609e6af 100644
--- a/include/stdarg.h
+++ b/include/stdarg.h
@@ -12,9 +12,7 @@ struct __ducc_va_list {
void* overflow_arg_area;
void* reg_save_area;
};
-// ducc currently does not support array type.
-// typedef struct __ducc_va_list va_list[1];
-typedef struct __ducc_va_list* va_list;
+typedef struct __ducc_va_list va_list[1];
#define va_start(args, start) __ducc_va_start(args, start)
#define va_end(args)