From b0f1b7b1704fb42675fff58a35a7ac1707bec2b2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 10 Apr 2010 17:13:53 +0000 Subject: Improve const-correctness of fetch_start svn path=/trunk/netsurf/; revision=10342 --- content/fetch.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content/fetch.h') diff --git a/content/fetch.h b/content/fetch.h index c872518c0..8bf59a17c 100644 --- a/content/fetch.h +++ b/content/fetch.h @@ -84,9 +84,9 @@ void fetch_init(void); struct fetch * fetch_start(const char *url, const char *referer, fetch_callback callback, void *p, bool only_2xx, const char *post_urlenc, - struct fetch_multipart_data *post_multipart, + const struct fetch_multipart_data *post_multipart, bool verifiable, - char *headers[]); + const char *headers[]); void fetch_abort(struct fetch *f); void fetch_poll(void); void fetch_quit(void); @@ -109,7 +109,7 @@ struct fetch_multipart_data *fetch_multipart_data_clone( typedef bool (*fetcher_initialise)(const char *); typedef void* (*fetcher_setup_fetch)(struct fetch *, const char *, bool, const char *, - struct fetch_multipart_data *, + const struct fetch_multipart_data *, const char **); typedef bool (*fetcher_start_fetch)(void *); typedef void (*fetcher_abort_fetch)(void *); -- cgit v1.2.3