]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: Do not use errno.h/inttypes.h
authorJan Janssen <medhefgo@web.de>
Sat, 7 Jan 2023 08:19:23 +0000 (09:19 +0100)
committerJan Janssen <medhefgo@web.de>
Tue, 21 Feb 2023 20:07:04 +0000 (21:07 +0100)
commit3ceaa05d566f178ccfdc6ba180e0e63f96216d87
tree5ae714366f96f841057f691a6923fec569be3d41
parenta4ab05e296a605cff9d3d42d9c80dac910530a96
boot: Do not use errno.h/inttypes.h

These are provided by libc instead of the compiler and are not supposed
to be used in freestanding environments.
When cross-compiling with clang and the corresponding gcc
cross-toolchain is not around, clang may pick up the wrong header from
the host system.
src/boot/efi/boot.c
src/boot/efi/efi-string.h
src/boot/efi/util.c
src/fundamental/efivars-fundamental.h