c4x-protos.h (c4x_global_name): Constify char *.

* 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
This commit is contained in:
Michael Hayes 2000-03-06 20:59:16 +00:00 committed by Michael Hayes
parent 01447dce5b
commit 1621934772
3 changed files with 9 additions and 3 deletions

View 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

View 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 *);

View 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;