summaryrefslogtreecommitdiff
path: root/l10ntools/source/xrmlex.l
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/xrmlex.l')
-rw-r--r--l10ntools/source/xrmlex.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index 6229525d7e84..034812cf61f5 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -144,7 +144,7 @@ int yywrap(void)
}
/*****************************************************************************/
-void YYWarning( char *s )
+void YYWarning( const char *s )
/*****************************************************************************/
{
/* write warning to stderr */
@@ -154,9 +154,9 @@ void YYWarning( char *s )
/*****************************************************************************/
#ifdef GCC
-void yyerror ( char *s, ... )
+void yyerror ( const char *s, ... )
#else
-void yyerror ( char *s )
+void yyerror ( const char *s )
#endif
/*****************************************************************************/
{