http: add support for disabling SSL revocation checks in cURL
[gitweb.git] / attr.h
diff --git a/attr.h b/attr.h
index 3daca3c0cba58ad8d15258c1e2fa5eb74b1ad72b..2be86db36e730938777066f1951360396ddc9676 100644 (file)
--- a/attr.h
+++ b/attr.h
@@ -9,6 +9,7 @@ struct git_attr;
 /* opaque structures used internally for attribute collection */
 struct all_attrs_item;
 struct attr_stack;
+struct index_state;
 
 /*
  * Given a string, return the gitattribute object that
@@ -77,8 +78,7 @@ enum git_attr_direction {
        GIT_ATTR_CHECKOUT,
        GIT_ATTR_INDEX
 };
-void git_attr_set_direction(enum git_attr_direction new_direction,
-                           const struct index_state *istate);
+void git_attr_set_direction(enum git_attr_direction new_direction);
 
 void attr_start(void);