Joel Kitching has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/33525 )
Change subject: add ctype.h header ......................................................................
add ctype.h header
Sometimes coreboot needs to compile external code (e.g. vboot_reference) using its own set of system header files. When these headers don't line up with C Standard Library, it causes problems.
Create ctype.h header file. Relocate ctype.h functions from string.h into ctype.h. Update source files which call ctype.h functions accordingly.
Note that ctype.h still lacks five functions which are not used in coreboot source: isalnum, isalpha, iscntrl, isgraph, ispunct
BUG=b:124141368 TEST=make clean && make test-abuild BRANCH=none
Change-Id: I31b5e8af49956ec024a392a73c3c9024b9a9c194 Signed-off-by: Joel Kitching kitching@google.com --- M src/console/vtxprintf.c A src/include/ctype.h M src/include/string.h M src/lib/device_tree.c M src/lib/edid.c M src/lib/fit.c M src/lib/hexdump.c M src/lib/hexstrtobin.c M src/lib/string.c M src/vendorcode/cavium/bdk/lame_string.c M src/vendorcode/cavium/bdk/libdram/dram-spd.c M src/vendorcode/google/chromeos/vpd_mac.c 12 files changed, 66 insertions(+), 52 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/33525/2