summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/fetch.c2
-rw-r--r--content/fetch.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/content/fetch.c b/content/fetch.c
index ffabd6799..651f02a7b 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -523,7 +523,7 @@ void fetch_poll(void)
* \return true if the scheme is supported
*/
-bool fetch_can_fetch(nsurl *url)
+bool fetch_can_fetch(const nsurl *url)
{
scheme_fetcher *fetcher = fetchers;
bool match;
diff --git a/content/fetch.h b/content/fetch.h
index 66a0f4a44..575206255 100644
--- a/content/fetch.h
+++ b/content/fetch.h
@@ -96,7 +96,7 @@ void fetch_poll(void);
void fetch_quit(void);
const char *fetch_filetype(const char *unix_path);
char *fetch_mimetype(const char *ro_path);
-bool fetch_can_fetch(nsurl *url);
+bool fetch_can_fetch(const nsurl *url);
void fetch_change_callback(struct fetch *fetch,
fetch_callback callback,
void *p);