From cd7b1e3bddf095116617470b087179c378c2dbc2 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 25 Dec 2023 18:53:46 +0100 Subject: Reformatted functions --- FICS/utils.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'FICS/utils.c') 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 * -- cgit v1.2.3