diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-01 11:20:32 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-01 11:20:32 -0300 |
commit | 05c0cd0db19063cd3a4043a5401c00b874ededa7 (patch) | |
tree | 315061ae4088adc4e6faf6b999715d48b0664ef9 /git.c | |
parent | 01574f68af36c6d96a3176170e37cf82e14780b8 (diff) |
git: Make `parse_key_value_file()` externally accessable
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -280,9 +280,7 @@ int parse_comment_reply(void *ctx, void *ret, const keyword *key, keyword_val va return 1; } -typedef int (parse_callback)(void **ret, void *ctx, char *buf); - -static int parse_key_value_file(void *ret, void *ctx, const keyword **keywords, char *buf, const char *delm, parse_callback *parse_cb) { +int parse_key_value_file(void *ret, void *ctx, const keyword **keywords, char *buf, const char *delm, parse_callback *parse_cb) { if (buf != NULL) { int ret_val = 0; for (;;) { |