summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2014-04-28 15:36:58 -0700
committerJunio C Hamano <gitster@pobox.com>2014-10-15 10:47:23 -0700
commitaae383db8c384dc46abe199899235f67c838e601 (patch)
tree36c728e86bc1218253eb70eb595b6508d6b867fc /refs.h
parentcd94f765720e32ea0bf72996c8dc7dd0b1cc30d0 (diff)
downloadgit-aae383db8c384dc46abe199899235f67c838e601.tar.gz
refs.c: make write_ref_sha1 static
No external users call write_ref_sha1 any more so let's declare it static. Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/refs.h b/refs.h
index 50b115acc1..eea104478f 100644
--- a/refs.h
+++ b/refs.h
@@ -197,9 +197,6 @@ extern int commit_ref(struct ref_lock *lock);
/** Release any lock taken but not written. **/
extern void unlock_ref(struct ref_lock *lock);
-/** Writes sha1 into the ref specified by the lock. **/
-extern int write_ref_sha1(struct ref_lock *lock, const unsigned char *sha1, const char *msg);
-
/*
* Setup reflog before using. Set errno to something meaningful on failure.
*/