[libc] Rewrite strtoul()
authorMichael Brown <mcb30@ipxe.org>
Thu, 19 Feb 2015 16:00:01 +0000 (16:00 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 19 Feb 2015 16:00:01 +0000 (16:00 +0000)
commita32b1e9e3557393d60fb4805cd74d8ba357b66cb
treeacd24bea0b4b0fc300d9b2d613dab573ca49b21f
parentbb1abb2b213adceb606ff458e3786c8c2ea4dc8a
[libc] Rewrite strtoul()

The implementation of strtoul() has a partially unknown provenance.
Rewrite this code to avoid potential licensing uncertainty.

Since we now use -ffunction-sections, there is no need to place
strtoull() in a separate file from strtoul().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/base16.c
src/core/misc.c [deleted file]
src/core/string.c
src/core/strtoull.c [deleted file]
src/include/ipxe/string.h [new file with mode: 0644]
src/include/stdlib.h
src/tests/string_test.c