aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-11-28 05:36:53 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2005-11-28 05:36:53 +0000
commit07a3df01000ca438d63254fc86a0d8aaf8db6f7d (patch)
tree1bc6502df29a725994be0303468dc43be10ea293 /gcc/gcc.c
parent05f25017505af390b6e1f9e19eecc9ebe78a3dc6 (diff)
downloadgcc-07a3df01000ca438d63254fc86a0d8aaf8db6f7d.zip
gcc-07a3df01000ca438d63254fc86a0d8aaf8db6f7d.tar.gz
gcc-07a3df01000ca438d63254fc86a0d8aaf8db6f7d.tar.bz2
* gcc.c (main): Change type of argv to "char **".
From-SVN: r107594
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 6f4b65b..0673cb5 100644
--- 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. */