mirror of
https://git.zx2c4.com/cgit
synced 2025-08-02 00:54:36 +02:00
Move global variables + callback functions into shared.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
df63119302
commit
44923f8953
4 changed files with 86 additions and 82 deletions
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue