diff options
-rw-r--r-- | FICS/utils.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index bd223c3..c4838f2 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -89,18 +89,20 @@ PUBLIC char *getword(char *str) return word; } -PUBLIC char *eatword(char *str) +PUBLIC char * +eatword(char *str) { - while (*str && !iswhitespace(*str)) - str++; - return str; + while (*str && !iswhitespace(*str)) + str++; + return str; } -PUBLIC char *eatwhite(char *str) +PUBLIC char * +eatwhite(char *str) { - while (*str && iswhitespace(*str)) - str++; - return str; + while (*str && iswhitespace(*str)) + str++; + return str; } PUBLIC char * |