]> granicus.if.org Git - cgit/commitdiff
cgit.h: move stdbool.h from ui-shared.h
authorJohn Keeping <john@keeping.me.uk>
Thu, 13 Aug 2015 11:14:18 +0000 (12:14 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 13 Aug 2015 13:38:03 +0000 (15:38 +0200)
Follow the Git policy of including system headers in only one place.

Signed-off-by: John Keeping <john@keeping.me.uk>
cgit.h
ui-shared.h

diff --git a/cgit.h b/cgit.h
index 31205622d49784bfca1beb8ba12d2f9c0431c6ed..508179a7fccad8f26027a51b27ed5f2541a2e68a 100644 (file)
--- 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>
index 788b1bca5191e490a00e9a0b84e01fba9fa7a00e..d8a3551bd87cca1165f7fb13a3740b931161a121 100644 (file)
@@ -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();