Constify the name member of a struct _proto_xmlpi_attr, to squelch
authorGuy Harris <guy@alum.mit.edu>
Fri, 8 Feb 2013 09:09:29 +0000 (09:09 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 8 Feb 2013 09:09:29 +0000 (09:09 -0000)
warnings.

svn path=/trunk/; revision=47561

epan/dtd_parse.l

index e918e138bc1ccd317cefd2d680424070f99ae71d..547f61f8129f3c5fb2fd28196f794bdf25d6f54c 100644 (file)
@@ -54,7 +54,7 @@
 #include "dtd_parse_lex.h"
 
        struct _proto_xmlpi_attr {
-               gchar* name;
+               const gchar* name;
                void (*act)(gchar*);
        };