apply.h: drop extern on func declaration
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Jun 30, 2018 at 11:20 UTC
45635ec92409cb2fd3c115e1efe588b26fcf43ca
1 file changed
+11
-12
apply.h
+11
-12
@@ -111,14 +111,14 @@ struct apply_state {
111
int applied_after_fixing_ws;
112
};
113
114
-extern int apply_parse_options(int argc, const char **argv,
115
- struct apply_state *state,
116
- int *force_apply, int *options,
117
- const char * const *apply_usage);
118
-extern int init_apply_state(struct apply_state *state,
119
- const char *prefix);
120
-extern void clear_apply_state(struct apply_state *state);
121
-extern int check_apply_state(struct apply_state *state, int force_apply);
114
+int apply_parse_options(int argc, const char **argv,
115
+ struct apply_state *state,
116
+ int *force_apply, int *options,
117
+ const char * const *apply_usage);
118
+int init_apply_state(struct apply_state *state,
119
+ const char *prefix);
120
+void clear_apply_state(struct apply_state *state);
121
+int check_apply_state(struct apply_state *state, int force_apply);
122
123
/*
124
* Some aspects of the apply behavior are controlled by the following
@@ -127,9 +127,8 @@ extern int check_apply_state(struct apply_state *state, int force_apply);
127
#define APPLY_OPT_INACCURATE_EOF (1<<0) /* accept inaccurate eof */
128
#define APPLY_OPT_RECOUNT (1<<1) /* accept inaccurate line count */
129
130
-extern int apply_all_patches(struct apply_state *state,
131
- int argc,
132
- const char **argv,
133
- int options);
130
+int apply_all_patches(struct apply_state *state,
131
+ int argc, const char **argv,
132
+ int options);
133
134
#endif