diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-02 22:41:00 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-02 22:41:00 -0800 |
commit | 702c7fbe7342403472e887508716add0c58c385c (patch) | |
tree | 639050b522cea25f4475d48da54380d61c7d10f3 /gpxe/src/core/misc.c | |
parent | 1e96e9cc1c3549c86dbf4e7caf880477e16e93e0 (diff) | |
download | syslinux.git-702c7fbe7342403472e887508716add0c58c385c.tar.gz syslinux.git-702c7fbe7342403472e887508716add0c58c385c.tar.xz syslinux.git-702c7fbe7342403472e887508716add0c58c385c.zip |
Update gPXE to version 1.0.0
Diffstat (limited to 'gpxe/src/core/misc.c')
-rw-r--r-- | gpxe/src/core/misc.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/gpxe/src/core/misc.c b/gpxe/src/core/misc.c index 1f51272d..c19591bb 100644 --- a/gpxe/src/core/misc.c +++ b/gpxe/src/core/misc.c @@ -2,7 +2,10 @@ MISC Support Routines **************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> +#include <ctype.h> #include <byteswap.h> #include <gpxe/in.h> #include <gpxe/timer.h> @@ -30,20 +33,6 @@ int inet_aton ( const char *cp, struct in_addr *inp ) { return 0; } -int isspace ( int c ) { - switch ( c ) { - case ' ': - case '\f': - case '\n': - case '\r': - case '\t': - case '\v': - return 1; - default: - return 0; - } -} - unsigned long strtoul ( const char *p, char **endp, int base ) { unsigned long ret = 0; unsigned int charval; |