From 1c90b0c19dff120fb4fd8acf413ddbdf16addf28 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Mar 2015 20:05:08 +0100 Subject: *: change C-style prototypes, drop "(void)" --- src/command/AllCommands.cxx | 6 ++++-- src/command/AllCommands.hxx | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src/command') 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 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); -- cgit v1.2.3