diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-02-08 08:56:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-02-08 08:56:55 +0000 |
commit | 2cbfc5db9815f71fc5208477a9bc23c2756e3dee (patch) | |
tree | 36152ca1522c83cd945e5e4900fe5277716d6e9d /epan/dtd_preparse.l | |
parent | a52fedeece2fc40b06e115a6ac4a9122c805d2da (diff) |
Constify the return value of replace_entity(), to squelch some warnings.
svn path=/trunk/; revision=47558
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r-- | epan/dtd_preparse.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l index 97e96a9b9e..43f82d73f5 100644 --- a/epan/dtd_preparse.l +++ b/epan/dtd_preparse.l @@ -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 = '%'; |