From 9b12df78930bc96675158d91f5b8de6e072e4266 Mon Sep 17 00:00:00 2001 From: pcarpent Date: Thu, 17 Dec 2015 21:46:45 +0100 Subject: [PATCH] fix misplaced static definition --- inc/utils.h | 1 + src/cmd/uts-server.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/utils.h b/inc/utils.h index e69de29..151822e 100644 --- a/inc/utils.h +++ b/inc/utils.h @@ -0,0 +1 @@ +void skeleton_daemon(); diff --git a/src/cmd/uts-server.c b/src/cmd/uts-server.c index d234805..8ba90ec 100644 --- a/src/cmd/uts-server.c +++ b/src/cmd/uts-server.c @@ -6,6 +6,7 @@ #include #include #include +#include "utils.h" const char *argp_program_version = UTS_VERSION; @@ -61,7 +62,7 @@ int main(int argc, char **argv) args.daemonize = 0; argp_parse (&argp, argc, argv, 0, 0, &args); - //skeleton_daemon(); + skeleton_daemon(); while (1) {