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;