use skip_whitespace where appropriate
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 45407f9..ede2f89 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -572,10 +572,7 @@
 	}
 
 	/* Skip over leading whitespace */
-	word = *buf;
-	while (isspace(*word)) {
-		++word;
-	}
+	word = skip_whitespace(*buf);
 
 	/* Skip over comments */
 	if (*word == '#') {
@@ -712,9 +709,7 @@
 			}
 
 			/* ship any trailing whitespace */
-			while (isspace(*buf_ptr)) {
-				++buf_ptr;
-			}
+			buf_ptr = skip_whitespace(buf_ptr);
 
 			if (buf_ptr[0] != '\0') {
 				bb_error_msg("too many parameters \"%s\"", buf);
diff --git a/networking/wget.c b/networking/wget.c
index a0d3e15..090b58d 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -302,7 +302,7 @@
 
 			s = buf;
 			while (*s != '\0' && !isspace(*s)) ++s;
-			while (isspace(*s)) ++s;
+			s = skip_whitespace(s);
 			// FIXME: no error check
 			// xatou wouldn't work: "200 OK"
 			status = atoi(s);