From 10b97f1148ee5068b9b97a6ecbdc45ac14145e12 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 3 Jan 2024 03:11:51 +0100 Subject: Reformatted functions --- FICS/comproc.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) (limited to 'FICS') diff --git a/FICS/comproc.c b/FICS/comproc.c index d35fe89..9a21545 100644 --- a/FICS/comproc.c +++ b/FICS/comproc.c @@ -1317,24 +1317,28 @@ PUBLIC int com_simopen(int p, param_list param) return COM_OK_NOPROMPT; } -PUBLIC int com_bell(int p, param_list param) +PUBLIC int +com_bell(int p, param_list param) { - int retval; - ASSERT(param[0].type == TYPE_NULL); - if ((retval = pcommand(p, "set bell")) != COM_OK) - return retval; - else - return COM_OK_NOPROMPT; + int retval; + + ASSERT(param[0].type == TYPE_NULL); + + if ((retval = pcommand(p, "set bell")) != COM_OK) + return retval; + return COM_OK_NOPROMPT; } -PUBLIC int com_flip(int p, param_list param) +PUBLIC int +com_flip(int p, param_list param) { - int retval; - ASSERT(param[0].type == TYPE_NULL); - if ((retval = pcommand(p, "set flip")) != COM_OK) - return retval; - else - return COM_OK_NOPROMPT; + int retval; + + ASSERT(param[0].type == TYPE_NULL); + + if ((retval = pcommand(p, "set flip")) != COM_OK) + return retval; + return COM_OK_NOPROMPT; } PUBLIC int -- cgit v1.2.3