@@ -42,31 +42,31 @@ struct attr_check {
4242 struct attr_stack * stack ;
4343};
4444
45- extern struct attr_check * attr_check_alloc (void );
46- extern struct attr_check * attr_check_initl (const char * , ...);
47- extern struct attr_check * attr_check_dup (const struct attr_check * check );
45+ struct attr_check * attr_check_alloc (void );
46+ struct attr_check * attr_check_initl (const char * , ...);
47+ struct attr_check * attr_check_dup (const struct attr_check * check );
4848
49- extern struct attr_check_item * attr_check_append (struct attr_check * check ,
50- const struct git_attr * attr );
49+ struct attr_check_item * attr_check_append (struct attr_check * check ,
50+ const struct git_attr * attr );
5151
52- extern void attr_check_reset (struct attr_check * check );
53- extern void attr_check_clear (struct attr_check * check );
54- extern void attr_check_free (struct attr_check * check );
52+ void attr_check_reset (struct attr_check * check );
53+ void attr_check_clear (struct attr_check * check );
54+ void attr_check_free (struct attr_check * check );
5555
5656/*
5757 * Return the name of the attribute represented by the argument. The
5858 * return value is a pointer to a null-delimited string that is part
5959 * of the internal data structure; it should not be modified or freed.
6060 */
61- extern const char * git_attr_name (const struct git_attr * );
61+ const char * git_attr_name (const struct git_attr * );
6262
63- extern int git_check_attr (const char * path , struct attr_check * check );
63+ int git_check_attr (const char * path , struct attr_check * check );
6464
6565/*
6666 * Retrieve all attributes that apply to the specified path.
6767 * check holds the attributes and their values.
6868 */
69- extern void git_all_attrs (const char * path , struct attr_check * check );
69+ void git_all_attrs (const char * path , struct attr_check * check );
7070
7171enum git_attr_direction {
7272 GIT_ATTR_CHECKIN ,
@@ -76,6 +76,6 @@ enum git_attr_direction {
7676void git_attr_set_direction (enum git_attr_direction new_direction ,
7777 struct index_state * istate );
7878
79- extern void attr_start (void );
79+ void attr_start (void );
8080
8181#endif /* ATTR_H */
0 commit comments