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>
This commit is contained in:
John Keeping 2015-08-13 12:14:18 +01:00 committed by Jason A. Donenfeld
父節點 43620cf6aa
當前提交 e09574bdf6
共有 2 個文件被更改,包括 2 次插入2 次删除

2
cgit.h
查看文件

@ -3,6 +3,8 @@
#include <git-compat-util.h> #include <git-compat-util.h>
#include <stdbool.h>
#include <cache.h> #include <cache.h>
#include <grep.h> #include <grep.h>
#include <object.h> #include <object.h>

查看文件

@ -1,8 +1,6 @@
#ifndef UI_SHARED_H #ifndef UI_SHARED_H
#define UI_SHARED_H #define UI_SHARED_H
#include <stdbool.h>
extern const char *cgit_httpscheme(); extern const char *cgit_httpscheme();
extern const char *cgit_hosturl(); extern const char *cgit_hosturl();
extern const char *cgit_rooturl(); extern const char *cgit_rooturl();