summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-27 15:35:14 +0100
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-29 23:52:23 +0100
commitf4546be7ecb8a0801fb0d30415586c15d721494a (patch)
tree40de953dfb25759a59af4b23e4dcb3a20e50beff /src/core
parent925240155e5c0c20569bcb5fafe4d3047055768a (diff)
downloadirssi-f4546be7ecb8a0801fb0d30415586c15d721494a.zip
Reorder functions.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/capsicum.c10
1 files changed, 5 insertions, 5 deletions
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;