From f4546be7ecb8a0801fb0d30415586c15d721494a Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Thu, 27 Jul 2017 15:35:14 +0100 Subject: Reorder functions. Signed-off-by: Edward Tomasz Napierala --- src/core/capsicum.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core') diff --git a/src/core/capsicum.c b/src/core/capsicum.c index 7674ca4d..a0375077 100644 --- a/src/core/capsicum.c +++ b/src/core/capsicum.c @@ -86,11 +86,6 @@ int capsicum_net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip) return sock; } -static void cmd_capsicum(const char *data, SERVER_REC *server, void *item) -{ - command_runsub("capsicum", data, server, item); -} - static int start_symbiont(void) { pid_t pid; @@ -151,6 +146,11 @@ static int start_symbiont(void) } } +static void cmd_capsicum(const char *data, SERVER_REC *server, void *item) +{ + command_runsub("capsicum", data, server, item); +} + static void cmd_capsicum_enter(void) { int error; -- cgit v1.2.3