Code

Fix an enum assignment issue spotted by Sun Studio
[git.git] / cache.h
diff --git a/cache.h b/cache.h
index 7d93df61c31b58826258f36c07214f58abcea1a2..270dfdb8aebcade3071156de8b170461d3273b5c 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -833,9 +833,9 @@ static inline int get_sha1_with_context(const char *str, unsigned char *sha1, st
 extern int get_sha1_hex(const char *hex, unsigned char *sha1);
 
 extern char *sha1_to_hex(const unsigned char *sha1);   /* static buffer result! */
-extern int read_ref_full(const char *filename, unsigned char *sha1,
+extern int read_ref_full(const char *refname, unsigned char *sha1,
                         int reading, int *flags);
-extern int read_ref(const char *filename, unsigned char *sha1);
+extern int read_ref(const char *refname, unsigned char *sha1);
 
 /*
  * Resolve a reference, recursively following symbolic refererences.