diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2014-12-02 21:27:34 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-03 14:45:03 -0800 |
commit | 2692890c9015d93311f01c4d0a74a5e16ac610da (patch) | |
tree | ffea03cb666253107e9dc0a288ba8ed03211692b /lockfile.h | |
parent | bd3c760bf47b68b5361fd6c602984015e4057d4c (diff) | |
download | git-jn/copy-errno.tar.gz |
lockfile: make 'unable_to_lock_message' privatejn/copy-errno
The old external callers now use the message passed back by
hold_lock_file_for_update / hold_lock_file_for_append instead of
trying to interpret errno.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'lockfile.h')
-rw-r--r-- | lockfile.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lockfile.h b/lockfile.h index b4d29a3930..02e26fed85 100644 --- a/lockfile.h +++ b/lockfile.h @@ -71,8 +71,6 @@ struct lock_file { #define LOCK_NO_DEREF 1 #define LOCK_OUTSIDE_REPOSITORY 2 -extern void unable_to_lock_message(const char *path, int, int err, - struct strbuf *buf); extern int hold_lock_file_for_update(struct lock_file *, const char *path, int, struct strbuf *err); extern int hold_lock_file_for_append(struct lock_file *, const char *path, |