summaryrefslogtreecommitdiff
path: root/promisor-remote.h
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-09-21 00:03:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-09-28 04:03:08 (GMT)
commit8464f94aeb2a5eb1ba834460b695b171b95e3fc0 (patch)
tree605bbd8bec09bcb19374c255a93bd4f136e97298 /promisor-remote.h
parent4ca9474efa4fd431c07a470513e684c5b2eec34c (diff)
downloadgit-8464f94aeb2a5eb1ba834460b695b171b95e3fc0.zip
git-8464f94aeb2a5eb1ba834460b695b171b95e3fc0.tar.gz
git-8464f94aeb2a5eb1ba834460b695b171b95e3fc0.tar.bz2
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>
Diffstat (limited to 'promisor-remote.h')
-rw-r--r--promisor-remote.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/promisor-remote.h b/promisor-remote.h
index 8200dfc..c60aaa5 100644
--- a/promisor-remote.h
+++ b/promisor-remote.h
@@ -15,17 +15,17 @@ struct promisor_remote {
const char name[FLEX_ARRAY];
};
-extern void promisor_remote_reinit(void);
-extern struct promisor_remote *promisor_remote_find(const char *remote_name);
-extern int has_promisor_remote(void);
-extern int promisor_remote_get_direct(struct repository *repo,
- const struct object_id *oids,
- int oid_nr);
+void promisor_remote_reinit(void);
+struct promisor_remote *promisor_remote_find(const char *remote_name);
+int has_promisor_remote(void);
+int promisor_remote_get_direct(struct repository *repo,
+ const struct object_id *oids,
+ int oid_nr);
/*
* This should be used only once from setup.c to set the value we got
* 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 */