]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c (main): Change type of argv to "char **".
authorMark Mitchell <mark@codesourcery.com>
Mon, 28 Nov 2005 05:36:53 +0000 (05:36 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 28 Nov 2005 05:36:53 +0000 (05:36 +0000)
From-SVN: r107594

gcc/ChangeLog
gcc/gcc.c

index a80979ea5e96eb767083a081b8c2a53b750406a8..89e752e384640e0c1caed2c0b811863669d76fc6 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-27  Mark Mitchell  <mark@codesourcery.com>
+
+       * gcc.c (main): Change type of argv to "char **".
+
 2005-11-28  Alan Modra  <amodra@bigpond.net.au>
 
        * doc/invoke.texi (powerpc msdata-data): Static data doesn't go in
index 6f4b65b2e503efe402cc6979abd8d964258e5198..0673cb5c4602e14fe09a867d53102e1c3adb7717 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6010,10 +6010,10 @@ fatal_error (int signum)
   kill (getpid (), signum);
 }
 
-extern int main (int, const char **);
+extern int main (int, char **);
 
 int
-main (int argc, const char **argv)
+main (int argc, char **argv)
 {
   size_t i;
   int value;
@@ -6126,7 +6126,7 @@ main (int argc, const char **argv)
      Make a table of specified input files (infiles, n_infiles).
      Decode switches that are handled locally.  */
 
-  process_command (argc, argv);
+  process_command (argc, (const char **) argv);
 
   /* Initialize the vector of specs to just the default.
      This means one element containing 0s, as a terminator.  */