aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r--src/blogc-git-receiver/pre-receive.c3
-rw-r--r--src/blogc-git-receiver/shell-command-parser.c1
-rw-r--r--src/blogc-git-receiver/shell.c2
3 files changed, 1 insertions, 5 deletions
diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c
index ca239da..9bfc8a7 100644
--- a/src/blogc-git-receiver/pre-receive.c
+++ b/src/blogc-git-receiver/pre-receive.c
@@ -6,12 +6,9 @@
* See the file LICENSE.
*/
-#include <stdbool.h>
-#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <libgen.h>
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
diff --git a/src/blogc-git-receiver/shell-command-parser.c b/src/blogc-git-receiver/shell-command-parser.c
index cc8c537..0c867b8 100644
--- a/src/blogc-git-receiver/shell-command-parser.c
+++ b/src/blogc-git-receiver/shell-command-parser.c
@@ -6,6 +6,7 @@
* See the file LICENSE.
*/
+#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "../common/utils.h"
diff --git a/src/blogc-git-receiver/shell.c b/src/blogc-git-receiver/shell.c
index 581ec3d..34aa3f2 100644
--- a/src/blogc-git-receiver/shell.c
+++ b/src/blogc-git-receiver/shell.c
@@ -6,7 +6,6 @@
* See the file LICENSE.
*/
-#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
@@ -14,7 +13,6 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
-#include <sys/types.h>
#include "../common/utils.h"
#include "shell-command-parser.h"
#include "shell.h"