forked from osmocom/wireshark
Constify the return value of replace_entity(), to squelch some warnings.
svn path=/trunk/; revision=47558
This commit is contained in:
parent
a52fedeece
commit
2cbfc5db98
|
@ -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 = '%';
|
||||
|
|
Loading…
Reference in New Issue