aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-09-16 03:44:03 +0000
committerJeff Law <law@redhat.com>1995-09-16 03:44:03 +0000
commit326b087c89a7536e69ea92db371d5cac3bb4d2ac (patch)
tree68f7d156aa303141875713f5b54996ac0e4f729c
parentdb8beef4ea231d74a46be6765cb4a21a8c7348f7 (diff)
downloadgdb-326b087c89a7536e69ea92db371d5cac3bb4d2ac.zip
gdb-326b087c89a7536e69ea92db371d5cac3bb4d2ac.tar.gz
gdb-326b087c89a7536e69ea92db371d5cac3bb4d2ac.tar.bz2
* config/tc-m68k.c: Change some "CONST" references to "const".
Just changed those which caused redefinition errors on a system where CONST != const. Many more remain.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-m68k.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d94e307..b4d3d3f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 15 21:39:29 1995 Jeff Law (law@snake.cs.utah.edu)
+
+ * config/tc-m68k.c: Change some "CONST" references to "const".
+
Fri Sep 15 17:27:41 1995 Ken Raeburn <raeburn@cygnus.com>
Tue Sep 12 17:08:23 1995 Pat Rankin <rankin@eql.caltech.edu>
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 3cb8121..25aabdc 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -30,9 +30,9 @@
/* This array holds the chars that always start a comment. If the
pre-processor is disabled, these aren't very useful */
#if defined (OBJ_ELF) || defined (TE_DELTA)
-CONST char comment_chars[] = "|#";
+const char comment_chars[] = "|#";
#else
-CONST char comment_chars[] = "|";
+const char comment_chars[] = "|";
#endif
/* This array holds the chars that only start a comment at the beginning of
@@ -42,9 +42,9 @@ CONST char comment_chars[] = "|";
first line of the input file. This is because the compiler outputs
#NO_APP at the beginning of its output. */
/* Also note that comments like this one will always work. */
-CONST char line_comment_chars[] = "#";
+const char line_comment_chars[] = "#";
-CONST char line_separator_chars[] = "";
+const char line_separator_chars[] = "";
/* Chars that can be used to separate mant from exp in floating point nums */
CONST char EXP_CHARS[] = "eE";
@@ -419,7 +419,7 @@ relax_typeS md_relax_table[] =
function to call to execute this pseudo-op
Integer arg to pass to the function
*/
-CONST pseudo_typeS md_pseudo_table[] =
+const pseudo_typeS md_pseudo_table[] =
{
{"data1", s_data1, 0},
{"data2", s_data2, 0},