Remove redundant includes These are all included in git-compat-util.h (when necessary), which we include in cgit.h. Signed-off-by: John Keeping <john@keeping.me.uk>
John Keeping john@keeping.me.uk
Thu, 13 Aug 2015 12:14:15 +0100
6 files changed,
0 insertions(+),
16 deletions(-)
M
html.c
→
html.c
@@ -8,12 +8,6 @@ */
#include "cgit.h" #include "html.h" -#include <unistd.h> -#include <stdio.h> -#include <stdlib.h> -#include <stdarg.h> -#include <string.h> -#include <errno.h> /* Percent-encoding of each character, except: a-zA-Z0-9!$()*,./:;@- */ static const char* url_escape_table[256] = {
M
ui-plain.c
→
ui-plain.c
@@ -6,7 +6,6 @@ * Licensed under GNU General Public License v2
* (see COPYING for full license text) */ -#include <stdio.h> #include "cgit.h" #include "ui-plain.h" #include "html.h"
M
ui-repolist.c
→
ui-repolist.c
@@ -10,7 +10,6 @@ #include "cgit.h"
#include "ui-repolist.h" #include "html.h" #include "ui-shared.h" -#include <strings.h> static time_t read_agefile(char *path) {
M
ui-summary.c
→
ui-summary.c
@@ -13,7 +13,6 @@ #include "ui-log.h"
#include "ui-refs.h" #include "ui-blob.h" #include "ui-shared.h" -#include <libgen.h> static int urls;