diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-06 15:14:05 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-06 15:14:05 +0000 |
commit | 16570c04253308dadf57f7efef7805723efe2ea4 (patch) | |
tree | fe8a0630b0bbf7874581c0973f7952c337256382 /gcc/genpreds.c | |
parent | 7db40274bfcc395d8d4ef02009dc7ce7c5060b92 (diff) | |
download | gcc-16570c04253308dadf57f7efef7805723efe2ea4.tar.gz |
Make argv const char ** in read_md_files etc
gcc/ChangeLog:
* genattr-common.c (main): Convert argv from
char ** to const char **.
* genattr.c (main): Likewise.
* genattrtab.c (main): Likewise.
* genautomata.c (initiate_automaton_gen): Likewise.
(main): Likewise.
* gencodes.c (main): Likewise.
* genconditions.c (main): Likewise.
* genconfig.c (main): Likewise.
* genconstants.c (main): Likewise.
* genemit.c (main): Likewise.
* genenums.c (main): Likewise.
* genextract.c (main): Likewise.
* genflags.c (main): Likewise.
* genmddeps.c (main): Likewise.
* genopinit.c (main): Likewise.
* genoutput.c (main): Likewise.
* genpeep.c (main): Likewise.
* genpreds.c (main): Likewise.
* genrecog.c (main): Likewise.
* gensupport.c (init_rtx_reader_args_cb): Likewise.
(init_rtx_reader_args): Likewise.
* gensupport.h (init_rtx_reader_args_cb): Likewise.
(init_rtx_reader_args): Likewise.
* gentarget-def.c (main): Likewise.
* read-md.c (read_md_files): Likewise.
* read-md.h (read_md_files): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genpreds.c')
-rw-r--r-- | gcc/genpreds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genpreds.c b/gcc/genpreds.c index c0d7ce4146c..dd7dbbfc6b7 100644 --- a/gcc/genpreds.c +++ b/gcc/genpreds.c @@ -1618,7 +1618,7 @@ parse_option (const char *opt) /* Master control. */ int -main (int argc, char **argv) +main (int argc, const char **argv) { progname = argv[0]; if (argc <= 1) |