From c5cf38fffec9b7e0a96cc3f016c3a01820498953 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 1 Sep 2025 21:39:10 +0900 Subject: feat: support signed/unsigned specifier --- include/stdarg.h | 6 ++---- include/stddef.h | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'include') 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) -- cgit v1.2.3-70-g09d2