summaryrefslogtreecommitdiff
path: root/urlmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'urlmatch.h')
-rw-r--r--urlmatch.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/urlmatch.h b/urlmatch.h
index 37ee5da85e..eed5f29235 100644
--- a/urlmatch.h
+++ b/urlmatch.h
@@ -1,4 +1,6 @@
#ifndef URL_MATCH_H
+#define URL_MATCH_H
+
#include "string-list.h"
struct url_info {
@@ -31,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;
@@ -50,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 */