X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gas%2Fmacro.h;h=84678dc538b1f56046dc092c0886d587036e0276;hb=2571583aed598dd3f9651b53434e5f177a0e3cf7;hp=b109178262ee15add7fc93f48a350e251148fe44;hpb=39a45edc073226e748566b497c216830cec119c4;p=external%2Fbinutils.git diff --git a/gas/macro.h b/gas/macro.h index b109178..84678dc 100644 --- a/gas/macro.h +++ b/gas/macro.h @@ -1,6 +1,5 @@ /* macro.h - header file for macro support for gas - Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2006, - 2007, 2012 Free Software Foundation, Inc. + Copyright (C) 1994-2017 Free Software Foundation, Inc. Written by Steve and Judy Chamberlain of Cygnus Support, sac@cygnus.com @@ -66,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; @@ -89,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 *));