aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-01 21:39:10 +0900
committernsfisis <nsfisis@gmail.com>2025-09-01 23:55:56 +0900
commitc5cf38fffec9b7e0a96cc3f016c3a01820498953 (patch)
treecfee0200dc16735af6e6e12c7fdedeca42249c4f /include
parentdfea2b35c962740c701ebc2151067ce6fb155e78 (diff)
downloadducc-c5cf38fffec9b7e0a96cc3f016c3a01820498953.tar.gz
ducc-c5cf38fffec9b7e0a96cc3f016c3a01820498953.tar.zst
ducc-c5cf38fffec9b7e0a96cc3f016c3a01820498953.zip
feat: support signed/unsigned specifier
Diffstat (limited to 'include')
-rw-r--r--include/stdarg.h6
-rw-r--r--include/stddef.h3
2 files changed, 3 insertions, 6 deletions
diff --git a/include/stdarg.h b/include/stdarg.h
index 1d448f8..fdc0b80 100644
--- a/include/stdarg.h
+++ b/include/stdarg.h
@@ -7,10 +7,8 @@
// Version 1.0
// Figure 3.34: va_list Type Declaration
struct __ducc_va_list {
- // unsigned int gp_offset;
- // unsigned int fp_offset;
- int gp_offset;
- int fp_offset;
+ unsigned int gp_offset;
+ unsigned int fp_offset;
void* overflow_arg_area;
void* reg_save_area;
};
diff --git a/include/stddef.h b/include/stddef.h
index 702d91a..07e49d3 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -3,8 +3,7 @@
#define NULL 0
-// TODO: unsigned
-typedef long size_t;
+typedef unsigned long size_t;
// TODO:
// - max_align_t (C11)