all repos — cgit @ e09574bdf6cfbd21ff0a58a18f34d4a11db824d7

a hyperfast web frontend for git written in c

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>
John Keeping john@keeping.me.uk
Thu, 13 Aug 2015 12:14:18 +0100
commit

e09574bdf6cfbd21ff0a58a18f34d4a11db824d7

parent

43620cf6aa62decaf319d00c28297e3b87a4da78

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M cgit.hcgit.h

@@ -3,6 +3,8 @@ #define CGIT_H

#include <git-compat-util.h> +#include <stdbool.h> + #include <cache.h> #include <grep.h> #include <object.h>
M ui-shared.hui-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();