diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-07 02:06:15 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-07 02:06:15 +0200 |
commit | e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41 (patch) | |
tree | cd7a7559ba7661354bf52a14d3438aa7fe30f29f /src | |
parent | 2c1b2eaaef8726c71648b4a115fbe628f28d6b4b (diff) | |
download | blogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.tar.gz blogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.tar.bz2 blogc-e52eb9e91481f7dd81abdfc9b7a88c68fe3f2d41.zip |
*: fixed includes
Diffstat (limited to 'src')
-rw-r--r-- | src/blogc-git-receiver/pre-receive.c | 3 | ||||
-rw-r--r-- | src/blogc-git-receiver/shell-command-parser.c | 1 | ||||
-rw-r--r-- | src/blogc-git-receiver/shell.c | 2 | ||||
-rw-r--r-- | src/blogc-runserver/httpd-utils.c | 4 | ||||
-rw-r--r-- | src/blogc-runserver/httpd.c | 4 | ||||
-rw-r--r-- | src/blogc-runserver/main.c | 1 | ||||
-rw-r--r-- | src/blogc-runserver/mime.c | 4 | ||||
-rw-r--r-- | src/blogc/loader.c | 1 | ||||
-rw-r--r-- | src/common/config-parser.c | 5 | ||||
-rw-r--r-- | src/common/config-parser.h | 1 | ||||
-rw-r--r-- | src/common/file.c | 1 | ||||
-rw-r--r-- | src/common/stdin.c | 1 |
12 files changed, 4 insertions, 24 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" diff --git a/src/blogc-runserver/httpd-utils.c b/src/blogc-runserver/httpd-utils.c index 8d9c024..37e12f4 100644 --- a/src/blogc-runserver/httpd-utils.c +++ b/src/blogc-runserver/httpd-utils.c @@ -6,10 +6,6 @@ * See the file LICENSE. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif /* HAVE_CONFIG_H */ - #include <stdbool.h> #include <string.h> #include <unistd.h> diff --git a/src/blogc-runserver/httpd.c b/src/blogc-runserver/httpd.c index c2fd259..195bad0 100644 --- a/src/blogc-runserver/httpd.c +++ b/src/blogc-runserver/httpd.c @@ -6,10 +6,6 @@ * See the file LICENSE. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif /* HAVE_CONFIG_H */ - #include <errno.h> #include <stdio.h> #include <stdbool.h> diff --git a/src/blogc-runserver/main.c b/src/blogc-runserver/main.c index afc9db6..4563a66 100644 --- a/src/blogc-runserver/main.c +++ b/src/blogc-runserver/main.c @@ -13,7 +13,6 @@ #include <signal.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> #include "../common/utils.h" #include "httpd.h" diff --git a/src/blogc-runserver/mime.c b/src/blogc-runserver/mime.c index b42d70a..8145f5b 100644 --- a/src/blogc-runserver/mime.c +++ b/src/blogc-runserver/mime.c @@ -6,10 +6,6 @@ * See the file LICENSE. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif /* HAVE_CONFIG_H */ - #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/src/blogc/loader.c b/src/blogc/loader.c index c3e1a4a..bca0000 100644 --- a/src/blogc/loader.c +++ b/src/blogc/loader.c @@ -9,7 +9,6 @@ #include <math.h> #include <stdbool.h> #include <stddef.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> #include "source-parser.h" diff --git a/src/common/config-parser.c b/src/common/config-parser.c index 9361908..e847623 100644 --- a/src/common/config-parser.c +++ b/src/common/config-parser.c @@ -6,10 +6,7 @@ * See the file LICENSE. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif /* HAVE_CONFIG_H */ - +#include <stdbool.h> #include <stdlib.h> #include "error.h" #include "utils.h" diff --git a/src/common/config-parser.h b/src/common/config-parser.h index 0d30c49..f9f287c 100644 --- a/src/common/config-parser.h +++ b/src/common/config-parser.h @@ -9,6 +9,7 @@ #ifndef _CONFIG_PARSER_H #define _CONFIG_PARSER_H +#include <stddef.h> #include "utils.h" #include "error.h" diff --git a/src/common/file.c b/src/common/file.c index 47c97af..36f6ee4 100644 --- a/src/common/file.c +++ b/src/common/file.c @@ -7,7 +7,6 @@ */ #include <errno.h> -#include <stdarg.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> diff --git a/src/common/stdin.c b/src/common/stdin.c index 2664c3e..345b021 100644 --- a/src/common/stdin.c +++ b/src/common/stdin.c @@ -6,6 +6,7 @@ * See the file LICENSE. */ +#include <stdbool.h> #include <stdio.h> #include "utils.h" #include "stdin.h" |