summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/b75pro3-m
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-06-26 18:03:28 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-06-27 03:30:37 +0000
commita41e5f14071f79da07d4c0b03b17d3788e003945 (patch)
treeb634f62f3d20a6fbebd2c509e3733a0142d872f4 /src/mainboard/asrock/b75pro3-m
parentf04e5f9af744f9c84641adae33d27cd484087428 (diff)
lib/string: change return types to match C standard
The return type of strspn and strcspn is supposed to be a size_t and not a signed integer. TEST=Now the openSIL code can be built with the coreboot headers without needing to add '-Wno-builtin-declaration-mismatch' or '-Wno-incompatible-library-redeclaration' to the cflags. Before the build would error out with various 'mismatch in return type of built-in function' errors. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I0ff612e2eee4f556f5c572b02cbc600ca411ae20 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83223 Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/mainboard/asrock/b75pro3-m')
0 files changed, 0 insertions, 0 deletions