read-cache: relocate and unexport commit_locked_index()
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 9cc2b97fc308e24f8acae15de182e709cab78f4e..e44048c4272ed26e9a5357ba8a2e7c6245df0f78 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -552,7 +552,6 @@ extern int commit_lock_file(struct lock_file *);
 extern void update_index_if_able(struct index_state *, struct lock_file *);
 
 extern int hold_locked_index(struct lock_file *, int);
-extern int commit_locked_index(struct lock_file *);
 extern void set_alternate_index_output(const char *);
 extern int close_lock_file(struct lock_file *);
 extern void rollback_lock_file(struct lock_file *);