aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 20:05:08 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 20:05:08 +0100
commit1c90b0c19dff120fb4fd8acf413ddbdf16addf28 (patch)
tree11328a0e5b4df0059e6002398bbd383864e45506 /src/command
parentcd776ff1a8ae0b0c2ef0068c0ee81332cddac134 (diff)
downloadmpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.tar.gz
mpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.tar.xz
mpd-1c90b0c19dff120fb4fd8acf413ddbdf16addf28.zip
*: change C-style prototypes, drop "(void)"
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);