*: change C-style prototypes, drop "(void)"
This commit is contained in:
@@ -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()
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user