summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/refs.h b/refs.h
index 4042109f05..8c3d433a8a 100644
--- a/refs.h
+++ b/refs.h
@@ -69,17 +69,6 @@ struct ref_transaction;
typedef int each_ref_fn(const char *refname,
const struct object_id *oid, int flags, void *cb_data);
-typedef int each_ref_sha1_fn(const char *refname,
- const unsigned char *sha1, int flags, void *cb_data);
-
-struct each_ref_fn_sha1_adapter {
- each_ref_sha1_fn *original_fn;
- void *original_cb_data;
-};
-
-extern int each_ref_fn_adapter(const char *refname,
- const struct object_id *oid, int flags, void *cb_data);
-
/*
* The following functions invoke the specified callback function for
* each reference indicated. If the function ever returns a nonzero