aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-08-13 12:14:18 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-08-13 15:38:03 +0200
commite09574bdf6cfbd21ff0a58a18f34d4a11db824d7 (patch)
tree62e76a82bcbc8fab45c0a5e361b10246255c1b00
parent43620cf6aa62decaf319d00c28297e3b87a4da78 (diff)
downloadcgit-e09574bdf6cfbd21ff0a58a18f34d4a11db824d7.tar.gz
cgit-e09574bdf6cfbd21ff0a58a18f34d4a11db824d7.tar.bz2
cgit.h: move stdbool.h from ui-shared.h
Follow the Git policy of including system headers in only one place. Signed-off-by: John Keeping <john@keeping.me.uk>
-rw-r--r--cgit.h2
-rw-r--r--ui-shared.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index 3120562..508179a 100644
--- a/cgit.h
+++ b/cgit.h
@@ -3,6 +3,8 @@
#include <git-compat-util.h>
+#include <stdbool.h>
+
#include <cache.h>
#include <grep.h>
#include <object.h>
diff --git a/ui-shared.h b/ui-shared.h
index 788b1bc..d8a3551 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -1,8 +1,6 @@
#ifndef UI_SHARED_H
#define UI_SHARED_H
-#include <stdbool.h>
-
extern const char *cgit_httpscheme();
extern const char *cgit_hosturl();
extern const char *cgit_rooturl();