]> git.ipfire.org Git - thirdparty/git.git/blobdiff - daemon.c
environment.h: move declarations for environment.c functions from cache.h
[thirdparty/git.git] / daemon.c
index 0ae7d12b5c132883907192d16c3e2f04d56a80fb..b56a8f9717d68d0cdc4cf38316eac2ccc4fcac13 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -1,9 +1,13 @@
 #include "cache.h"
+#include "abspath.h"
+#include "alloc.h"
 #include "config.h"
+#include "environment.h"
 #include "pkt-line.h"
 #include "run-command.h"
 #include "strbuf.h"
 #include "string-list.h"
+#include "wrapper.h"
 
 #ifdef NO_INITGROUPS
 #define initgroups(x, y) (0) /* nothing */
@@ -928,7 +932,7 @@ static void handle(int incoming, struct sockaddr *addr, socklen_t addrlen)
                add_child(&cld, addr, addrlen);
 }
 
-static void child_handler(int signo)
+static void child_handler(int signo UNUSED)
 {
        /*
         * Otherwise empty handler because systemcalls will get interrupted