summaryrefslogtreecommitdiff
path: root/gas/config/rx-parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/rx-parse.y')
-rw-r--r--gas/config/rx-parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/rx-parse.y b/gas/config/rx-parse.y
index 7a7eb7043e1..3bd37d0cae7 100644
--- a/gas/config/rx-parse.y
+++ b/gas/config/rx-parse.y
@@ -1277,7 +1277,7 @@ token_table[] =
static struct
{
- char * string;
+ const char * string;
int token;
}
condition_opcode_table[] =
@@ -1291,7 +1291,7 @@ condition_opcode_table[] =
static struct
{
- char * string;
+ const char * string;
int val;
}
condition_table[] =
@@ -1333,7 +1333,7 @@ rx_lex_init (char * beginning, char * ending)
}
static int
-check_condition (char * base)
+check_condition (const char * base)
{
char * cp;
unsigned int i;