refs.c: flatten get_ref_store() a bit
[gitweb.git] / refs.h
diff --git a/refs.h b/refs.h
index e529f4c3a88a79488df4b610b65a1c9d9c18c4a0..2d6b6263fc207d790b5ee61332d051e549d24e0c 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -1,6 +1,10 @@
 #ifndef REFS_H
 #define REFS_H
 
+struct object_id;
+struct strbuf;
+struct string_list;
+
 /*
  * Resolve a reference, recursively following symbolic refererences.
  *
@@ -292,7 +296,7 @@ int delete_reflog(const char *refname);
 
 /* iterate over reflog entries */
 typedef int each_reflog_ent_fn(
-               unsigned char *old_sha1, unsigned char *new_sha1,
+               struct object_id *old_oid, struct object_id *new_oid,
                const char *committer, unsigned long timestamp,
                int tz, const char *msg, void *cb_data);