OSDN Git Service

* gcc.c (main): Quiet compiler warnings. argv is assumed to be
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jun 2000 16:35:16 +0000 (16:35 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jun 2000 16:35:16 +0000 (16:35 +0000)
        writable in parts of the GCC code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34550 138bc75d-0d04-0410-961f-82ee72b054a4

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;