summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
Diffstat (limited to 'git.c')
-rw-r--r--git.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/git.c b/git.c
index e3abcae..2a09841 100644
--- a/git.c
+++ b/git.c
@@ -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 (;;) {