Commit 07a3df01 by Mark Mitchell Committed by Mark Mitchell

* gcc.c (main): Change type of argv to "char **".

From-SVN: r107594
parent 05f25017
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> 2005-11-28 Alan Modra <amodra@bigpond.net.au>
* doc/invoke.texi (powerpc msdata-data): Static data doesn't go in * doc/invoke.texi (powerpc msdata-data): Static data doesn't go in
......
...@@ -6010,10 +6010,10 @@ fatal_error (int signum) ...@@ -6010,10 +6010,10 @@ fatal_error (int signum)
kill (getpid (), signum); kill (getpid (), signum);
} }
extern int main (int, const char **); extern int main (int, char **);
int int
main (int argc, const char **argv) main (int argc, char **argv)
{ {
size_t i; size_t i;
int value; int value;
...@@ -6126,7 +6126,7 @@ main (int argc, const char **argv) ...@@ -6126,7 +6126,7 @@ main (int argc, const char **argv)
Make a table of specified input files (infiles, n_infiles). Make a table of specified input files (infiles, n_infiles).
Decode switches that are handled locally. */ 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. /* Initialize the vector of specs to just the default.
This means one element containing 0s, as a terminator. */ This means one element containing 0s, as a terminator. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment