X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fmacro.h;h=7000197729b738e673457fda4fb5058a5a788c30;hb=39a0d071ae10ab953d6bb986ec40996c771db78f;hp=133c4c93d32daa6d6283a78cf57dd0ba617c877d;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/macro.h b/gas/macro.h index 133c4c93d3..7000197729 100644 --- a/gas/macro.h +++ b/gas/macro.h @@ -1,5 +1,5 @@ /* macro.h - header file for macro support for gas - Copyright (C) 1994-2014 Free Software Foundation, Inc. + Copyright (C) 1994-2016 Free Software Foundation, Inc. Written by Steve and Judy Chamberlain of Cygnus Support, sac@cygnus.com @@ -65,7 +65,7 @@ typedef struct macro_struct formal_entry *formals; /* Pointer to list of formal_structs. */ struct hash_control *formal_hash; /* Hash table of formals. */ const char *name; /* Macro name. */ - char *file; /* File the macro was defined in. */ + const char *file; /* File the macro was defined in. */ unsigned int line; /* Line number of definition. */ } macro_entry; @@ -88,7 +88,7 @@ extern void macro_init (int, int, int, extern void macro_set_alternate (int); extern void macro_mri_mode (int); extern const char *define_macro (size_t, sb *, sb *, size_t (*) (sb *), - char *, unsigned int, const char **); + const char *, unsigned int, const char **); extern int check_macro (const char *, sb *, const char **, macro_entry **); extern void delete_macro (const char *); extern const char *expand_irp (int, size_t, sb *, sb *, size_t (*) (sb *));