diff options
Diffstat (limited to 'gcc/input.h')
-rw-r--r-- | gcc/input.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/input.h b/gcc/input.h index 3aee605f9b9..32d49b9ae8e 100644 --- a/gcc/input.h +++ b/gcc/input.h @@ -20,10 +20,10 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Source file current line is coming from. */ -extern char *input_filename; +extern const char *input_filename; /* Top-level source file. */ -extern char *main_input_filename; +extern const char *main_input_filename; /* Line number in current source file. */ extern int lineno; @@ -33,7 +33,7 @@ extern FILE *finput; struct file_stack { - char *name; + const char *name; struct file_stack *next; int line; int indent_level; @@ -46,5 +46,5 @@ extern struct file_stack *input_file_stack; /* Incremented on each change to input_file_stack. */ extern int input_file_stack_tick; -extern void push_srcloc PARAMS ((char *name, int line)); +extern void push_srcloc PARAMS ((const char *name, int line)); extern void pop_srcloc PARAMS ((void)); |