* gcov-io.c (gcov_open): Deconstify 'mode'.
authorNathan Sidwell <nathan@acm.org>
Fri, 14 Oct 2016 10:51:58 +0000 (10:51 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 14 Oct 2016 10:51:58 +0000 (10:51 +0000)
From-SVN: r241155

gcc/ChangeLog
gcc/gcov-io.c

index b907c66..de8a650 100644 (file)
@@ -1,3 +1,7 @@
+2016-10-14  Nathan Sidwell  <nathan@acm.org>
+
+       * gcov-io.c (gcov_open): Deconstify 'mode'.
+
 2016-10-14  Martin Liska  <mliska@suse.cz>
 
        * fold-const.c (c_getstr): Support of properly \0-terminated
index 1720d91..731c2cf 100644 (file)
@@ -127,7 +127,7 @@ gcov_open (const char *name, int mode)
 #endif
 {
 #if IN_LIBGCOV
-  const int mode = 0;
+  int mode = 0;
 #endif
 #if GCOV_LOCKED
   struct flock s_flock;