aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-31 13:23:59 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-31 13:23:59 +0100
commit1692bdcbeb549afe0085df9d5829dd2ab2d95e96 (patch)
treec034cc3eb78919f06bca99c9ecdd7cea235de8a9 /FICS
parent7ff43967bd7748b611f3eb44cf9707a445e3de9d (diff)
Reformatted ClearTextList()
Diffstat (limited to 'FICS')
-rw-r--r--FICS/playerdb.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c
index d68a3a4..c819eb5 100644
--- a/FICS/playerdb.c
+++ b/FICS/playerdb.c
@@ -1987,11 +1987,12 @@ PUBLIC textlist *ClearTextListEntry(textlist *entry)
return ret;
}
-PUBLIC void ClearTextList(textlist *head)
+PUBLIC void
+ClearTextList(textlist *head)
{
- textlist *cur;
-
- for (cur = head; cur != NULL; cur = ClearTextListEntry(cur));
+ for (textlist *cur = head; cur != NULL; cur = ClearTextListEntry(cur)) {
+ /* null */;
+ }
}
/*