From 6ef2df13f7ee0470575db9e02663e30992a2a032 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Dec 2011 11:12:17 +0000 Subject: Fix const correctness svn path=/trunk/netsurf/; revision=13228 --- utils/nsurl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/nsurl.c') diff --git a/utils/nsurl.c b/utils/nsurl.c index 079a56c7b..6f827c249 100644 --- a/utils/nsurl.c +++ b/utils/nsurl.c @@ -241,7 +241,7 @@ enum url_sections { * \param markers Updated to mark sections in the URL string * \param joining True iff URL string is a relative URL for joining */ -static void nsurl__get_string_markers(const char const *url_s, +static void nsurl__get_string_markers(const char * const url_s, struct url_markers *markers, bool joining) { const char *pos = url_s; /** current position in url_s */ @@ -656,7 +656,7 @@ static inline int nsurl__get_ascii_offset(char c1, char c2) * * The section of url_s is normalised appropriately. */ -static nserror nsurl__create_from_section(const char const *url_s, +static nserror nsurl__create_from_section(const char * const url_s, const enum url_sections section, const struct url_markers *pegs, char *pos_norm, @@ -1212,7 +1212,7 @@ static void nsurl__dump(const nsurl *url) ******************************************************************************/ /* exported interface, documented in nsurl.h */ -nserror nsurl_create(const char const *url_s, nsurl **url) +nserror nsurl_create(const char * const url_s, nsurl **url) { struct url_markers m; struct nsurl_components c; -- cgit v1.2.3