remove wchar header from inttypes includes

This commit is contained in:
auronandace
2026-05-12 15:46:26 +01:00
parent fd376c45fe
commit 7df33d647c
2 changed files with 3 additions and 4 deletions
+3 -2
View File
@@ -4,8 +4,9 @@
# - "The <inttypes.h> header shall include the <stdint.h> header."
# - "wchar_t As described in <stddef.h>."
#
# wchar.h brings in both stdint.h and stddef.h
sys_includes = ["wchar.h"]
# TODO possibly split out wchar_t to avoid including all of stddef.h
# stddef.h also currently includes stdint.h but shouldn't according to the spec
sys_includes = ["stdint.h", "stddef.h"]
include_guard = "_RELIBC_INTTYPES_H"
trailer = """
#ifndef _RELIBC_BITS_INTTYPES_H
-2
View File
@@ -4,8 +4,6 @@
# - "The <poll.h> header shall define the sigset_t type as described in <signal.h>."
# - "The <poll.h> header shall define the timespec structure as described in <time.h>."
# - "Inclusion of the <poll.h> header may make visible all symbols from the headers <signal.h> and <time.h>."
#
# bits/timespec.h brings in sys/types.h (TODO: refactor bits/timespec.h and sys/types.h)
sys_includes = []
include_guard = "_RELIBC_POLL_H"
after_includes = """