summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/refdb.h2
-rw-r--r--include/git2/refdb_backend.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/include/git2/refdb.h b/include/git2/refdb.h
index 76b8fda0d..0e3ec5eaf 100644
--- a/include/git2/refdb.h
+++ b/include/git2/refdb.h
@@ -32,13 +32,11 @@ GIT_BEGIN_DECL
* @return the created git_reference or NULL on error
*/
GIT_EXTERN(git_reference *) git_reference__alloc(
- git_refdb *refdb,
const char *name,
const git_oid *oid,
const git_oid *peel);
GIT_EXTERN(git_reference *) git_reference__alloc_symbolic(
- git_refdb *refdb,
const char *name,
const char *target);
diff --git a/include/git2/refdb_backend.h b/include/git2/refdb_backend.h
index bf33817d6..20eb6a9dd 100644
--- a/include/git2/refdb_backend.h
+++ b/include/git2/refdb_backend.h
@@ -101,8 +101,7 @@ struct git_refdb_backend {
*/
GIT_EXTERN(int) git_refdb_backend_fs(
struct git_refdb_backend **backend_out,
- git_repository *repo,
- git_refdb *refdb);
+ git_repository *repo);
GIT_END_DECL