mirror of
https://git.zx2c4.com/cgit
synced 2025-08-29 06:08:24 +02:00
Move function for configfile parsing into configfile.[ch]
This is a generic function which wanted its own little object file. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
ee4056bd2c
commit
20a33548b9
6 changed files with 99 additions and 78 deletions
1
cgit.h
1
cgit.h
|
@ -214,7 +214,6 @@ extern void cgit_diff_commit(struct commit *commit, filepair_fn fn);
|
|||
|
||||
extern char *fmt(const char *format,...);
|
||||
|
||||
extern int cgit_read_config(const char *filename, configfn fn);
|
||||
extern int cgit_parse_query(char *txt, configfn fn);
|
||||
extern struct commitinfo *cgit_parse_commit(struct commit *commit);
|
||||
extern struct taginfo *cgit_parse_tag(struct tag *tag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue