summaryrefslogtreecommitdiff
path: root/src/revwalk.h
diff options
context:
space:
mode:
authorAndreas Ericsson <ae@op5.se>2008-11-22 14:57:40 +0100
committerShawn O. Pearce <spearce@spearce.org>2008-11-22 12:08:00 -0800
commitc215be4120385fc5f358e8a0609c94f6998184e7 (patch)
tree4b44ce23b4357ded8bdbdac545ef49a39d5bd6ea /src/revwalk.h
parent3e1d42b7d980e29595572e550d5ce58c0a34f15f (diff)
downloadlibgit2-c215be4120385fc5f358e8a0609c94f6998184e7.tar.gz
Rename git_revpool_* functions gitrp_*
Otherwise their prototypes don't match their declarations. Detected by 'sparse', which is obviously good to run before each commit. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/revwalk.h')
-rw-r--r--src/revwalk.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/revwalk.h b/src/revwalk.h
new file mode 100644
index 000000000..dea66ba25
--- /dev/null
+++ b/src/revwalk.h
@@ -0,0 +1,12 @@
+#ifndef INCLUDE_revwalk_h__
+#define INCLUDE_revwalk_h__
+
+#include "git/common.h"
+#include "git/revwalk.h"
+#include <stdlib.h>
+
+struct git_revpool {
+ git_odb *db;
+};
+
+#endif /* INCLUDE_revwalk_h__ */