Constify the return value of replace_entity(), to squelch some warnings.

svn path=/trunk/; revision=47558
This commit is contained in:
Guy Harris 2013-02-08 08:56:55 +00:00
parent a52fedeece
commit 2cbfc5db98
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ static const gchar* dtd_dirname;
static const gchar* filename;
static guint linenum;
static gchar* replace_entity(gchar* s);
static const gchar* replace_entity(gchar* s);
static const gchar* location(void);
/*
@ -159,7 +159,7 @@ newline \n
%%
static gchar* replace_entity(gchar* entity) {
static const gchar* replace_entity(gchar* entity) {
GString* replacement;
*entity = '%';