aboutsummaryrefslogtreecommitdiff
path: root/gcc/genmddeps.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/genmddeps.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/genmddeps.c')
-rw-r--r--gcc/genmddeps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genmddeps.c b/gcc/genmddeps.c
index 0780531..fd26a33 100644
--- a/gcc/genmddeps.c
+++ b/gcc/genmddeps.c
@@ -40,7 +40,7 @@ add_filedep (const char *pathname)
}
int
-main (int argc, char **argv)
+main (int argc, const char **argv)
{
struct filedep *d;