aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-25 18:53:46 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-25 18:53:46 +0100
commitcd7b1e3bddf095116617470b087179c378c2dbc2 (patch)
tree9f2849fe08a021c3b03cc7e18440d2a3803bc2fa /FICS/utils.c
parentfddb8662661ec811f692b670863d608867c3265f (diff)
Reformatted functions
Diffstat (limited to 'FICS/utils.c')
-rw-r--r--FICS/utils.c18
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 *