- don't free user-supplied string (via -e)
[oweals/busybox.git] / libbb / skip_whitespace.c
index bdfb97d70258a91ec7acd8f992ec9fbf1641e006..e85f3859faa1e0db3e17a6bff471400fa32d3a50 100644 (file)
@@ -9,15 +9,15 @@
 
 #include "libbb.h"
 
-char *skip_whitespace(const char *s)
+char* FAST_FUNC skip_whitespace(const char *s)
 {
-       /* NB: isspace('0') returns 0 */
+       /* NB: isspace('\0') returns 0 */
        while (isspace(*s)) ++s;
 
        return (char *) s;
 }
 
-char *skip_non_whitespace(const char *s)
+char* FAST_FUNC skip_non_whitespace(const char *s)
 {
        while (*s && !isspace(*s)) ++s;