aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command/AllCommands.cxx6
-rw-r--r--src/command/AllCommands.hxx6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx
index 0662cff64..bd232efda 100644
--- a/src/command/AllCommands.cxx
+++ b/src/command/AllCommands.cxx
@@ -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()
{
}
diff --git a/src/command/AllCommands.hxx b/src/command/AllCommands.hxx
index ce3b905c4..e3405b034 100644
--- a/src/command/AllCommands.hxx
+++ b/src/command/AllCommands.hxx
@@ -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);