summaryrefslogtreecommitdiff
path: root/utils/nsurl.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-22 20:45:38 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-22 20:45:38 +0000
commit2837f0509464442a41c2c6b0782f4c58b8e6862c (patch)
tree87c7f00ef8f1e1db9632010e1c3c71909311d73c /utils/nsurl.h
parent828b5b44c7513e798538011c4a3849a1dcf02fd1 (diff)
downloadnetsurf-2837f0509464442a41c2c6b0782f4c58b8e6862c.tar.gz
netsurf-2837f0509464442a41c2c6b0782f4c58b8e6862c.tar.bz2
nsurl_access must return const.
svn path=/trunk/netsurf/; revision=12863
Diffstat (limited to 'utils/nsurl.h')
-rw-r--r--utils/nsurl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nsurl.h b/utils/nsurl.h
index e53fca9bd..95e1698ef 100644
--- a/utils/nsurl.h
+++ b/utils/nsurl.h
@@ -136,7 +136,7 @@ nserror nsurl_get(const nsurl *url, nsurl_component parts,
*
* The length returned in url_l excludes the trailing '\0'.
*/
-char *nsurl_access(const nsurl *url, size_t *url_l);
+const char *nsurl_access(const nsurl *url, size_t *url_l);
/**