diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-06 19:27:28 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-08 07:46:50 -0800 |
commit | cc3a184adfcf08744de1caf930430300656349a2 (patch) | |
tree | c84150e3110222adcb424f50b899cdd2df4b06ca /save-git.c | |
parent | 6d0011947b0675de21e4010dedb14a94cd7f7873 (diff) | |
download | subsurface-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.c | 2 |
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); |