diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 03:11:51 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 03:11:51 +0100 |
commit | 10b97f1148ee5068b9b97a6ecbdc45ac14145e12 (patch) | |
tree | ff0704ab0fec33a80fdfbb2edc81802a729b28c7 /FICS/comproc.c | |
parent | 11cbebb969feb57faf262d408f61822eb715365d (diff) |
Reformatted functions
Diffstat (limited to 'FICS/comproc.c')
-rw-r--r-- | FICS/comproc.c | 32 |
1 files changed, 18 insertions, 14 deletions
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 |