*: change C-style prototypes, drop "(void)"

This commit is contained in:
Max Kellermann
2015-03-03 20:05:08 +01:00
parent cd776ff1a8
commit 1c90b0c19d
28 changed files with 74 additions and 53 deletions

View File

@@ -257,7 +257,8 @@ handle_not_commands(Client &client, gcc_unused ConstBuffer<const char *> args)
return CommandResult::OK;
}
void command_init(void)
void
command_init()
{
#ifndef NDEBUG
/* ensure that the command list is sorted */
@@ -266,7 +267,8 @@ void command_init(void)
#endif
}
void command_finish(void)
void
command_finish()
{
}

View File

@@ -24,9 +24,11 @@
class Client;
void command_init(void);
void
command_init();
void command_finish(void);
void
command_finish();
CommandResult
command_process(Client &client, unsigned num, char *line);