summaryrefslogtreecommitdiff
path: root/com32/modules/ethersel.c
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-02-07 23:11:39 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-02-07 23:11:39 +0100
commit6d0cfd4b044a0e8294d27921cef9a10ce2cbaa7a (patch)
treeb3ff970599742ac5065a8a95ede9293c3ffe6e1d /com32/modules/ethersel.c
parentc030de4a10babd0b7f297ed952678676838927d4 (diff)
downloadsyslinux-6d0cfd4b044a0e8294d27921cef9a10ce2cbaa7a.tar.gz
com32: single instance of skipspace()
no need to keep several versions of it.
Diffstat (limited to 'com32/modules/ethersel.c')
-rw-r--r--com32/modules/ethersel.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/com32/modules/ethersel.c b/com32/modules/ethersel.c
index f586e836..5c3cf02a 100644
--- a/com32/modules/ethersel.c
+++ b/com32/modules/ethersel.c
@@ -30,6 +30,7 @@
#include <inttypes.h>
#include <stdio.h>
+#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <console.h>
@@ -44,14 +45,6 @@
# define dprintf(...) ((void)0)
#endif
-static char *skipspace(char *p)
-{
- while (*p && *p <= ' ')
- p++;
-
- return p;
-}
-
#define MAX_LINE 512
/* Check to see if we are at a certain keyword (case insensitive) */