unable_to_lock_die(): rename function from unable_to_lock_index_die()
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 8206039cfe9545b4f6eb6757dfd62bf468b3be52..0a76d023e4cd5a835a6c8c41002c575c53c276fd 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -582,7 +582,7 @@ struct lock_file {
 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_index_die(const char *path, int err);
+extern NORETURN void unable_to_lock_die(const char *path, int err);
 extern int hold_lock_file_for_update(struct lock_file *, const char *path, int);
 extern int hold_lock_file_for_append(struct lock_file *, const char *path, int);
 extern int commit_lock_file(struct lock_file *);