diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-04-17 10:15:29 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-04-17 10:42:08 +0100 |
commit | 1d33649516f2046e9fe692d42fffeeec96a2b858 (patch) | |
tree | f48462239a4cd88f506b8613cb0c05d885735fcf /src/include/stdlib.h | |
parent | d11b82f0e401ca6499e590fa348c8dbd67bc1d40 (diff) | |
download | ipxe-1d33649516f2046e9fe692d42fffeeec96a2b858.zip ipxe-1d33649516f2046e9fe692d42fffeeec96a2b858.tar.gz ipxe-1d33649516f2046e9fe692d42fffeeec96a2b858.tar.bz2 |
[libc] Allow strtoul() to interpret negative numbers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/stdlib.h')
-rw-r--r-- | src/include/stdlib.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 19a7c8e..3d30858 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -5,7 +5,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <stdint.h> #include <assert.h> -#include <ctype.h> /***************************************************************************** * @@ -18,9 +17,6 @@ static inline int strtoul_base ( const char **pp, int base ) { const char *p = *pp; - while ( isspace ( *p ) ) - p++; - if ( base == 0 ) { base = 10; if ( *p == '0' ) { |