diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-25 18:53:46 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-25 18:53:46 +0100 |
commit | cd7b1e3bddf095116617470b087179c378c2dbc2 (patch) | |
tree | 9f2849fe08a021c3b03cc7e18440d2a3803bc2fa /FICS/utils.c | |
parent | fddb8662661ec811f692b670863d608867c3265f (diff) |
Reformatted functions
Diffstat (limited to 'FICS/utils.c')
-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 * |