From cc3a184adfcf08744de1caf930430300656349a2 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 6 Mar 2014 19:27:28 -0800 Subject: Add initial parser for git trees It doesn't actually parse the files themselves, but it does walk the object tree and print out the dives and trips it finds. Signed-off-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- save-git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'save-git.c') diff --git a/save-git.c b/save-git.c index e2950d42c..0f9dea95e 100644 --- a/save-git.c +++ b/save-git.c @@ -344,7 +344,7 @@ static void create_dive_buffer(struct dive *dive, struct membuffer *b) save_dive_temperature(b, dive); } -static int report_error(const char *fmt, ...) +int report_error(const char *fmt, ...) { struct membuffer b = { 0 }; VA_BUF(&b, fmt); -- cgit v1.2.3-70-g09d2