summaryrefslogtreecommitdiff
path: root/urlmatch.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-05-13 23:50:32 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-05-13 23:50:32 +0900
commit4aeeef377347934d6f459e27f7d793de4ce384bb (patch)
treea8031c9623eac896bf474ba2158e39afc6abb5b3 /urlmatch.h
parentMerge branch 'ew/repack-with-bitmaps-by-default' (diff)
parent*.[ch]: manually align parameter lists (diff)
downloadtgif-4aeeef377347934d6f459e27f7d793de4ce384bb.tar.xz
Merge branch 'dl/no-extern-in-func-decl'
Mechanically and systematically drop "extern" from function declarlation. * dl/no-extern-in-func-decl: *.[ch]: manually align parameter lists *.[ch]: remove extern from function declarations using sed *.[ch]: remove extern from function declarations using spatch
Diffstat (limited to 'urlmatch.h')
-rw-r--r--urlmatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/urlmatch.h b/urlmatch.h
index e482148248..eed5f29235 100644
--- a/urlmatch.h
+++ b/urlmatch.h
@@ -33,7 +33,7 @@ struct url_info {
* '?...' and '#...' portion; will always be >= 1 */
};
-extern char *url_normalize(const char *, struct url_info *);
+char *url_normalize(const char *, struct url_info *);
struct urlmatch_item {
size_t hostmatch_len;
@@ -52,6 +52,6 @@ struct urlmatch_config {
int (*cascade_fn)(const char *var, const char *value, void *cb);
};
-extern int urlmatch_config_entry(const char *var, const char *value, void *cb);
+int urlmatch_config_entry(const char *var, const char *value, void *cb);
#endif /* URL_MATCH_H */