aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-07 02:06:15 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-07 02:06:15 +0200
commite52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41 (patch)
treecd7a7559ba7661354bf52a14d3438aa7fe30f29f /src/blogc-git-receiver
parent2c1b2eaaef8726c71648b4a115fbe628f28d6b4b (diff)
downloadblogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.tar.gz
blogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.tar.bz2
blogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.zip
*: fixed includes
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"