diff options
author | John Keeping | 2015-08-13 12:14:18 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-08-13 15:38:03 +0200 |
commit | e09574bdf6cfbd21ff0a58a18f34d4a11db824d7 (patch) | |
tree | 62e76a82bcbc8fab45c0a5e361b10246255c1b00 | |
parent | cache.c: fix header order (diff) | |
download | cgit-e09574bdf6cfbd21ff0a58a18f34d4a11db824d7.tar.gz cgit-e09574bdf6cfbd21ff0a58a18f34d4a11db824d7.zip |
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.h | 2 | ||||
-rw-r--r-- | ui-shared.h | 2 |
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 @@ | |||
3 | 3 | ||
4 | 4 | ||
5 | #include <git-compat-util.h> | 5 | #include <git-compat-util.h> |
6 | #include <stdbool.h> | ||
7 | |||
6 | #include <cache.h> | 8 | #include <cache.h> |
7 | #include <grep.h> | 9 | #include <grep.h> |
8 | #include <object.h> | 10 | #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 @@ | |||
1 | #ifndef UI_SHARED_H | 1 | #ifndef UI_SHARED_H |
2 | #define UI_SHARED_H | 2 | #define UI_SHARED_H |
3 | 3 | ||
4 | #include <stdbool.h> | ||
5 | |||
6 | extern const char *cgit_httpscheme(); | 4 | extern const char *cgit_httpscheme(); |
7 | extern const char *cgit_hosturl(); | 5 | extern const char *cgit_hosturl(); |
8 | extern const char *cgit_rooturl(); | 6 | extern const char *cgit_rooturl(); |