aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/wsetup.c
diff options
context:
space:
mode:
authorEric Salem <ericsalem@gmail.com>2025-03-20 10:28:16 -0500
committerCorinna Vinschen <corinna@vinschen.de>2025-03-24 12:00:18 +0100
commitc3b9bb173c8c48fb44135d512b39cc856c9acd9c (patch)
treee554fa4f013dc3fe827e9082c1a0abec2e65c778 /newlib/libc/stdio/wsetup.c
parent0bfd91d578632b9348d769d2bc8611d6e9493d3a (diff)
downloadnewlib-c3b9bb173c8c48fb44135d512b39cc856c9acd9c.zip
newlib-c3b9bb173c8c48fb44135d512b39cc856c9acd9c.tar.gz
newlib-c3b9bb173c8c48fb44135d512b39cc856c9acd9c.tar.bz2
newlib: riscv: Add XLEN typedef and clean up types
The size of the long data type isn't precisely defined in the C standard, so create a new typedef that uses either uint32_t or uint64_t based on XLEN. The fixed width types are more robust against any ABI changes and fit the data types of the intrinsic functions. Use the new uintxlen_t type instead of long and uintptr_t. Reviewed-by: Christian Herber <christian.herber@oss.nxp.com> Signed-off-by: Eric Salem <ericsalem@gmail.com>
Diffstat (limited to 'newlib/libc/stdio/wsetup.c')
0 files changed, 0 insertions, 0 deletions