aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/utils.c')
-rw-r--r--FICS/utils.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index facefab..1a4d5dc 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -60,14 +60,12 @@ PUBLIC int count_lines(FILE *fp)
return nl;
}
-PUBLIC int iswhitespace(int c)
+PUBLIC int
+iswhitespace(int c)
{
- if ((c < ' ') || (c == '\b') || (c == '\n') ||
- (c == '\t') || (c == ' ')) { /* white */
- return 1;
- } else {
- return 0;
- }
+ if (c < ' ' || c == '\b' || c == '\n' || c == '\t' || c == ' ')
+ return 1;
+ return 0;
}
PUBLIC char *