aboutsummaryrefslogtreecommitdiff
path: root/gcc/genopinit.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2016-05-06 15:14:05 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2016-05-06 15:14:05 +0000
commit66b0fe8f4ef0d0345a66c9783b056e765ea6065b (patch)
treefe8a0630b0bbf7874581c0973f7952c337256382 /gcc/genopinit.c
parent9c5e57dfb7524eaa0cc65efd5b71bf4b48b010a1 (diff)
downloadgcc-66b0fe8f4ef0d0345a66c9783b056e765ea6065b.zip
gcc-66b0fe8f4ef0d0345a66c9783b056e765ea6065b.tar.gz
gcc-66b0fe8f4ef0d0345a66c9783b056e765ea6065b.tar.bz2
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. From-SVN: r235976
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r--gcc/genopinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c
index 6d7ad4f..5f4f354 100644
--- a/gcc/genopinit.c
+++ b/gcc/genopinit.c
@@ -105,7 +105,7 @@ open_outfile (const char *file_name)
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
FILE *h_file, *s_file;
unsigned int i, j, n, last_kind[5];