aboutsummaryrefslogtreecommitdiff
path: root/gas/config/rl78-parse.y
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2011-11-21 17:10:31 +0000
committerDJ Delorie <dj@redhat.com>2011-11-21 17:10:31 +0000
commitcc1892858129c01ceb226e64f1295fa9c70aa259 (patch)
treebe34fb597226d668a88abc0f6e642af2f0b640f2 /gas/config/rl78-parse.y
parent8443c2073bfc7ba847265cf87d096b17da64508e (diff)
downloadgdb-cc1892858129c01ceb226e64f1295fa9c70aa259.zip
gdb-cc1892858129c01ceb226e64f1295fa9c70aa259.tar.gz
gdb-cc1892858129c01ceb226e64f1295fa9c70aa259.tar.bz2
* config/rl78-defs.h (rl78_error): Add "const".
* config/rl78-parse.y (rl78_error): Likewise.
Diffstat (limited to 'gas/config/rl78-parse.y')
-rw-r--r--gas/config/rl78-parse.y2
1 files changed, 1 insertions, 1 deletions
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;