summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authortoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-13 07:47:42 +0000
committertoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-13 07:47:42 +0000
commitcfeb95f9ab1a4b15061dd1890a65cef70518b244 (patch)
treed9aa9ea92f944e768ffafa737ced4f75fe5a1997 /gcc/objc
parentb9bd22292e8ac7acacb1c2e7d17140d7ba0ed6f3 (diff)
downloadgcc-cfeb95f9ab1a4b15061dd1890a65cef70518b244.tar.gz
2011-05-13 Toon Moene <toon@moene.org>
* objc-next-runtime-abi-02.c (newabi_append_ro): Add const qualifier to constant variable pointer declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173723 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-next-runtime-abi-02.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 363e6116683..949b92d2c36 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-13 Toon Moene <toon@moene.org>
+
+ * objc-next-runtime-abi-02.c (newabi_append_ro):
+ Add const qualifier to constant variable pointer declaration.
+
2011-05-11 Nathan Froyd <froydnj@codesourcery.com>
* objc-act.h (CLASS_NAME, CLASS_SUPER_NAME): Use proper accessors.
diff --git a/gcc/objc/objc-next-runtime-abi-02.c b/gcc/objc/objc-next-runtime-abi-02.c
index 3d889b0a116..fd9bb9923de 100644
--- a/gcc/objc/objc-next-runtime-abi-02.c
+++ b/gcc/objc/objc-next-runtime-abi-02.c
@@ -1879,7 +1879,7 @@ objc_build_internal_classname (tree ident, bool metaclass)
static const char *
newabi_append_ro (const char *name)
{
- char *dollar;
+ const char *dollar;
char *p;
static char string[BUFSIZE];
dollar = strchr (name, '$');