diff options
author | DJ Delorie <dj@redhat.com> | 2011-11-21 17:10:31 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2011-11-21 17:10:31 +0000 |
commit | cc1892858129c01ceb226e64f1295fa9c70aa259 (patch) | |
tree | be34fb597226d668a88abc0f6e642af2f0b640f2 /gas | |
parent | 8443c2073bfc7ba847265cf87d096b17da64508e (diff) | |
download | fsf-binutils-gdb-cc1892858129c01ceb226e64f1295fa9c70aa259.zip fsf-binutils-gdb-cc1892858129c01ceb226e64f1295fa9c70aa259.tar.gz fsf-binutils-gdb-cc1892858129c01ceb226e64f1295fa9c70aa259.tar.bz2 |
* config/rl78-defs.h (rl78_error): Add "const".
* config/rl78-parse.y (rl78_error): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/rl78-defs.h | 2 | ||||
-rw-r--r-- | gas/config/rl78-parse.y | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7ced749..e385881 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2011-11-21 DJ Delorie <dj@redhat.com> + + * config/rl78-defs.h (rl78_error): Add "const". + * config/rl78-parse.y (rl78_error): Likewise. + 2011-11-21 Andreas Tobler <andreast@fgznet.ch> * config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd. diff --git a/gas/config/rl78-defs.h b/gas/config/rl78-defs.h index e33e4f9..1afbd9d 100644 --- a/gas/config/rl78-defs.h +++ b/gas/config/rl78-defs.h @@ -26,7 +26,7 @@ #define RL78REL_DATA 0 #define RL78REL_PCREL 1 -extern int rl78_error (char *); +extern int rl78_error (const char *); extern void rl78_lex_init (char *, char *); extern void rl78_prefix (int); extern int rl78_has_prefix (void); diff --git a/gas/config/rl78-parse.y b/gas/config/rl78-parse.y index 431ae6f..4bfb3ff 100644 --- a/gas/config/rl78-parse.y +++ b/gas/config/rl78-parse.y @@ -1430,7 +1430,7 @@ rl78_lex (void) } int -rl78_error (char * str) +rl78_error (const char * str) { int len; |