aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
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)