summaryrefslogtreecommitdiff
path: root/src/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/gram.y')
-rw-r--r--src/gram.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gram.y b/src/gram.y
index d623ddb..dac77f4 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -82,7 +82,7 @@ static char *Action = "";
static char *Name = "";
static MenuRoot *root, *pull = NULL;
-static MenuRoot *GetRoot ( char *name, char *fore, char *back );
+static MenuRoot *GetRoot ( const char *name, const char *fore, const char *back );
static void GotButton ( int butt, int func );
static void GotKey ( char *key, int func );
static void GotTitleButton ( char *bitmapname, int func, Bool rightside );
@@ -660,7 +660,7 @@ number : NUMBER { $$ = $1; }
%%
void
-yyerror(char *s)
+yyerror(const char *s)
{
twmrc_error_prefix();
fprintf (stderr, "error in input file: %s\n", s ? s : "");
@@ -751,7 +751,7 @@ RemoveDQuote(char *str)
*o = '\0';
}
-static MenuRoot *GetRoot(char *name, char* fore, char *back)
+static MenuRoot *GetRoot(const char *name, const char* fore, const char *back)
{
MenuRoot *tmp;