refs.c: don't expose the internal struct ref_lock in the header file
[gitweb.git] / refs.h
diff --git a/refs.h b/refs.h
index 28e7834da46e5a859a69da6452f2b8a2841a0528..fc88ba6b3062d29d53a93188d1134d8a513792f7 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -1,15 +1,6 @@
 #ifndef REFS_H
 #define REFS_H
 
-struct ref_lock {
-       char *ref_name;
-       char *orig_ref_name;
-       struct lock_file *lk;
-       unsigned char old_sha1[20];
-       int lock_fd;
-       int force_write;
-};
-
 /*
  * A ref_transaction represents a collection of ref updates
  * that should succeed or fail together.