c4x-protos.h (c4x_global_name): Constify char *.
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>
Mon, 6 Mar 2000 20:59:16 +0000 (20:59 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Mon, 6 Mar 2000 20:59:16 +0000 (20:59 +0000)
* config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
(c4x_external_ref): Likewise.
* config/c4x/c4x.c (struct name_list): Likewise.

From-SVN: r32370

gcc/ChangeLog
gcc/config/c4x/c4x-protos.h
gcc/config/c4x/c4x.c

index de22acd581334fbfd0ed881ddd17efb46af1af14..fb42c0923ebedb07b404461724d08796aa946f9c 100644 (file)
@@ -1,3 +1,9 @@
+2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
+       (c4x_external_ref): Likewise.
+       * config/c4x/c4x.c (struct name_list): Likewise.
+
 1999-12-16  Ben Collins  <bcollins@debian.org>
 
        * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
index 54340395cf6422bd7b9069194767da061e8d2378..9a5e70ac62bb3772dd9c682a6f69c0d80e85da98 100644 (file)
@@ -38,9 +38,9 @@ extern int c4x_handle_pragma PARAMS ((int (* p_getc) (void),
                                      void (* p_ungetc) (int),
                                      char *));
 
-extern void c4x_global_label (char *);
+extern void c4x_global_label (const char *);
 
-extern void c4x_external_ref (char *);
+extern void c4x_external_ref (const char *);
 
 extern void c4x_file_end (FILE *);
 
index 106b334f39b2c60f92bab78857bd4d7018167df1..43a14cbe7efe8883fe546caf8a661d6e69a73bee 100644 (file)
@@ -4399,7 +4399,7 @@ c4x_handle_pragma (p_getc, p_ungetc, pname)
 struct name_list
 {
   struct name_list *next;
-  char *name;
+  const char *name;
 };
 
 static struct name_list *global_head;