summaryrefslogtreecommitdiff
path: root/gcc/genconditions.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-06 15:14:05 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-06 15:14:05 +0000
commit16570c04253308dadf57f7efef7805723efe2ea4 (patch)
treefe8a0630b0bbf7874581c0973f7952c337256382 /gcc/genconditions.c
parent7db40274bfcc395d8d4ef02009dc7ce7c5060b92 (diff)
downloadgcc-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/genconditions.c')
-rw-r--r--gcc/genconditions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genconditions.c b/gcc/genconditions.c
index 8abf1c243a9..e4f45b097cd 100644
--- a/gcc/genconditions.c
+++ b/gcc/genconditions.c
@@ -212,7 +212,7 @@ write_writer (void)
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
progname = "genconditions";