From: Jakub Jelinek Date: Fri, 6 May 2016 20:42:10 +0000 (+0200) Subject: * genmddump.c (main): Convert argv from char ** to const char **. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e796fd77d39f2e56c15f794782a24828ac11a46e;p=gcc.git * genmddump.c (main): Convert argv from char ** to const char **. From-SVN: r235985 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b03ac34b15..103dd667540 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-05-06 Jakub Jelinek + + * genmddump.c (main): Convert argv from char ** to const char **. + 2016-05-06 David Malcolm * coretypes.h (OVERRIDE): New macro. diff --git a/gcc/genmddump.c b/gcc/genmddump.c index 35bc79c3c51..a9c93a83122 100644 --- a/gcc/genmddump.c +++ b/gcc/genmddump.c @@ -35,10 +35,10 @@ #include "gensupport.h" -extern int main (int, char **); +extern int main (int, const char **); int -main (int argc, char **argv) +main (int argc, const char **argv) { progname = "genmddump"; @@ -57,4 +57,3 @@ main (int argc, char **argv) fflush (stdout); return (ferror (stdout) != 0 ? FATAL_EXIT_CODE : SUCCESS_EXIT_CODE); } -