Move global variables + callback functions into shared.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
7
cgit.h
7
cgit.h
@ -47,6 +47,10 @@ extern char *cgit_query_sha1;
|
||||
|
||||
extern int htmlfd;
|
||||
|
||||
extern void cgit_global_config_cb(const char *name, const char *value);
|
||||
extern void cgit_repo_config_cb(const char *name, const char *value);
|
||||
extern void cgit_querystring_cb(const char *name, const char *value);
|
||||
|
||||
extern char *fmt(const char *format,...);
|
||||
|
||||
extern void html(const char *txt);
|
||||
@ -79,7 +83,4 @@ extern void cgit_print_summary();
|
||||
extern void cgit_print_log(const char *tip, int ofs, int cnt);
|
||||
extern void cgit_print_view(char *hex);
|
||||
|
||||
extern void cgit_repo_config_cb(const char *name, const char *value);
|
||||
|
||||
|
||||
#endif /* CGIT_H */
|
||||
|
Reference in New Issue
Block a user