From 1d33649516f2046e9fe692d42fffeeec96a2b858 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 17 Apr 2012 10:15:29 +0100 Subject: [libc] Allow strtoul() to interpret negative numbers Signed-off-by: Michael Brown --- src/include/stdlib.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/include') diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 19a7c8e09..3d30858ff 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -5,7 +5,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include #include -#include /***************************************************************************** * @@ -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' ) { -- cgit v1.2.3-55-g7522