diff options
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/rx-defs.h | 2 | ||||
-rw-r--r-- | gas/config/rx-parse.y | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2167d36..d82606a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2011-10-25 Mike Frysinger <vapier@gentoo.org> + + * config/rx-defs.h (rx_error): Add const to first arg. + * config/rx-parse.y (rx_error): Likewise. + 2011-10-25 Nick Clifton <nickc@redhat.com> * config/tc-ns32k.c (md_begin): Rename local variable 'stat' to diff --git a/gas/config/rx-defs.h b/gas/config/rx-defs.h index 868796e..5353cb9 100644 --- a/gas/config/rx-defs.h +++ b/gas/config/rx-defs.h @@ -37,7 +37,7 @@ extern int rx_pid_register; extern int rx_gp_register; -extern int rx_error (char *); +extern int rx_error (const char *); extern void rx_lex_init (char *, char *); extern void rx_base1 (int); extern void rx_base2 (int, int); diff --git a/gas/config/rx-parse.y b/gas/config/rx-parse.y index b473788..263e78b 100644 --- a/gas/config/rx-parse.y +++ b/gas/config/rx-parse.y @@ -1277,7 +1277,7 @@ rx_lex (void) } int -rx_error (char * str) +rx_error (const char * str) { int len; |