gcc.c (main): Quiet compiler warnings.
authorDavid O'Brien <obrien@FreeBSD.org>
Wed, 14 Jun 2000 16:35:16 +0000 (16:35 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 14 Jun 2000 16:35:16 +0000 (10:35 -0600)
        * gcc.c (main): Quiet compiler warnings.  argv is assumed to be
        writable in parts of the GCC code.

From-SVN: r34550

gcc/ChangeLog
gcc/gcc.c

index a2b53d7..cd707c3 100644 (file)
@@ -1,5 +1,8 @@
 2000-06-14  David O'Brien  <obrien@FreeBSD.org>
 
+       * gcc.c (main): Quiet compiler warnings.  argv is assumed to be
+       writable in parts of the GCC code.
+
        * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
        specification match cast.
 
index eb7a6c9..0df9418 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5135,7 +5135,7 @@ extern int main PARAMS ((int, const char **));
 int
 main (argc, argv)
      int argc;
-     const char **argv;
+     char **argv;
 {
   register size_t i;
   size_t j;