diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-06 12:08:44 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-06 12:08:44 +0000 |
commit | 34c5b0f7761a2410c3fbe29b4b295e1ea61fc68c (patch) | |
tree | c65cc863cc00153b220c95248110c2faf81d3a13 /gcc/sdbout.c | |
parent | 16afa2a2c34bfe7998f26071842558dfa97f33c2 (diff) | |
download | gcc-34c5b0f7761a2410c3fbe29b4b295e1ea61fc68c.tar.gz |
* sdbout.c (struct sdb_file): NAME now const.
(sdbout_init): input_file_name now const.
(sdbout_start_new_source_file): FILENAME now const.
* sdbout.c (sdbout_init, sdbout_start_new_source_file): Reflect above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34426 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r-- | gcc/sdbout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 6433c67a2a1..f0075d56260 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -327,7 +327,7 @@ output_file_directive (asm_out_file, (FILENAME)) struct sdb_file { struct sdb_file *next; - char *name; + const char *name; }; /* This is the top of the stack. */ @@ -341,7 +341,7 @@ static struct sdb_file *current_file; void sdbout_init (asm_file, input_file_name, syms) FILE *asm_file ATTRIBUTE_UNUSED; - char *input_file_name ATTRIBUTE_UNUSED; + const char *input_file_name ATTRIBUTE_UNUSED; tree syms ATTRIBUTE_UNUSED; { #ifdef MIPS_DEBUGGING_INFO @@ -1645,7 +1645,7 @@ sdbout_label (insn) void sdbout_start_new_source_file (filename) - char *filename ATTRIBUTE_UNUSED; + const char *filename ATTRIBUTE_UNUSED; { #ifdef MIPS_DEBUGGING_INFO struct sdb_file *n = (struct sdb_file *) xmalloc (sizeof *n); |