aboutsummaryrefslogtreecommitdiffstats
path: root/save-git.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2014-03-06 19:27:28 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-08 07:46:50 -0800
commitcc3a184adfcf08744de1caf930430300656349a2 (patch)
treec84150e3110222adcb424f50b899cdd2df4b06ca /save-git.c
parent6d0011947b0675de21e4010dedb14a94cd7f7873 (diff)
downloadsubsurface-cc3a184adfcf08744de1caf930430300656349a2.tar.gz
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 <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-git.c')
-rw-r--r--save-git.c2
1 files changed, 1 insertions, 1 deletions
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);