Skip to content

Commit 5146f1f

Browse files
pcloudsgitster
authored andcommitted
line-range.h: drop extern from function declaration
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f758a7f commit 5146f1f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

line-range.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919

2020
typedef const char *(*nth_line_fn_t)(void *data, long lno);
2121

22-
extern int parse_range_arg(const char *arg,
23-
nth_line_fn_t nth_line_cb,
24-
void *cb_data, long lines, long anchor,
25-
long *begin, long *end,
26-
const char *path);
22+
int parse_range_arg(const char *arg,
23+
nth_line_fn_t nth_line_cb,
24+
void *cb_data, long lines, long anchor,
25+
long *begin, long *end,
26+
const char *path);
2727

2828
/*
2929
* Scan past a range argument that could be parsed by
@@ -34,6 +34,6 @@ extern int parse_range_arg(const char *arg,
3434
* NULL in case the argument is obviously malformed.
3535
*/
3636

37-
extern const char *skip_range_arg(const char *arg);
37+
const char *skip_range_arg(const char *arg);
3838

3939
#endif /* LINE_RANGE_H */

0 commit comments

Comments
 (0)