From fa4cbf06478e0a6a4a60aa10580dff755420da8b Mon Sep 17 00:00:00 2001 From: Charlotte Meyer Date: Fri, 3 May 2019 09:18:55 +0200 Subject: [PATCH] Move type declaration for cmd_handlers up --- kiwmi/commands.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kiwmi/commands.c b/kiwmi/commands.c index c6b332f..11e999a 100644 --- a/kiwmi/commands.c +++ b/kiwmi/commands.c @@ -9,6 +9,9 @@ #include +typedef bool ( + *cmd_handler)(FILE *client, const char **args, struct kiwmi_server *server); + static bool cmd_quit( FILE *UNUSED(client), @@ -19,9 +22,6 @@ cmd_quit( return false; } -typedef bool ( - *cmd_handler)(FILE *client, const char **args, struct kiwmi_server *server); - static const struct { const char *name; cmd_handler handler;