promisor-remote.h: drop extern from function declaration
During the creation of this file, each time a new function declaration
was introduced, it included an `extern`. However, starting from
554544276a
(*.[ch]: remove extern from function declarations using
spatch, 2019-04-29), we've been actively trying to prevent externs from
being used in function declarations because they're unnecessary.
Remove these spurious `extern`s.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
4ca9474efa
commit
8464f94aeb
@ -15,10 +15,10 @@ struct promisor_remote {
|
|||||||
const char name[FLEX_ARRAY];
|
const char name[FLEX_ARRAY];
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void promisor_remote_reinit(void);
|
void promisor_remote_reinit(void);
|
||||||
extern struct promisor_remote *promisor_remote_find(const char *remote_name);
|
struct promisor_remote *promisor_remote_find(const char *remote_name);
|
||||||
extern int has_promisor_remote(void);
|
int has_promisor_remote(void);
|
||||||
extern int promisor_remote_get_direct(struct repository *repo,
|
int promisor_remote_get_direct(struct repository *repo,
|
||||||
const struct object_id *oids,
|
const struct object_id *oids,
|
||||||
int oid_nr);
|
int oid_nr);
|
||||||
|
|
||||||
@ -26,6 +26,6 @@ extern int promisor_remote_get_direct(struct repository *repo,
|
|||||||
* This should be used only once from setup.c to set the value we got
|
* This should be used only once from setup.c to set the value we got
|
||||||
* from the extensions.partialclone config option.
|
* from the extensions.partialclone config option.
|
||||||
*/
|
*/
|
||||||
extern void set_repository_format_partial_clone(char *partial_clone);
|
void set_repository_format_partial_clone(char *partial_clone);
|
||||||
|
|
||||||
#endif /* PROMISOR_REMOTE_H */
|
#endif /* PROMISOR_REMOTE_H */
|
||||||
|
Reference in New Issue
Block a user