summaryrefslogtreecommitdiff
path: root/lockfile.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2014-08-28 23:41:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-10-15 17:47:27 (GMT)
commitfb43bd1cd187bcd29312df3b0394a457d524906d (patch)
tree167849a847b24867c23cab7718238cbc60f8ba9f /lockfile.h
parent5a603b046351894a3c892d5bd6948fcee1bee5ab (diff)
downloadgit-fb43bd1cd187bcd29312df3b0394a457d524906d.zip
git-fb43bd1cd187bcd29312df3b0394a457d524906d.tar.gz
git-fb43bd1cd187bcd29312df3b0394a457d524906d.tar.bz2
lockfile: remove unable_to_lock_error
The former caller uses unable_to_lock_message now. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Reviewed-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'lockfile.h')
-rw-r--r--lockfile.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lockfile.h b/lockfile.h
index dc066d1..cd2ec95 100644
--- a/lockfile.h
+++ b/lockfile.h
@@ -71,7 +71,6 @@ struct lock_file {
#define LOCK_DIE_ON_ERROR 1
#define LOCK_NO_DEREF 2
-extern int unable_to_lock_error(const char *path, int err);
extern void unable_to_lock_message(const char *path, int err,
struct strbuf *buf);
extern NORETURN void unable_to_lock_die(const char *path, int err);