nsurl_access must return const.

svn path=/trunk/netsurf/; revision=12863
This commit is contained in:
Michael Drake 2011-09-22 20:45:38 +00:00
parent 828b5b44c7
commit 2837f05094
2 changed files with 2 additions and 2 deletions

View File

@ -1182,7 +1182,7 @@ nserror nsurl_get(const nsurl *url, nsurl_component parts,
/* exported interface, documented in nsurl.h */
char *nsurl_access(const nsurl *url, size_t *url_l)
const char *nsurl_access(const nsurl *url, size_t *url_l)
{
assert(url != NULL);

View File

@ -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);
/**