From: Nathan Sidwell Date: Fri, 14 Oct 2016 10:51:58 +0000 (+0000) Subject: * gcov-io.c (gcov_open): Deconstify 'mode'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74d2b9071b2a3fb1b5615b7db181661fd225bcc4;p=gcc.git * gcov-io.c (gcov_open): Deconstify 'mode'. From-SVN: r241155 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b907c6622d5..de8a650f260 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-10-14 Nathan Sidwell + + * gcov-io.c (gcov_open): Deconstify 'mode'. + 2016-10-14 Martin Liska * fold-const.c (c_getstr): Support of properly \0-terminated diff --git a/gcc/gcov-io.c b/gcc/gcov-io.c index 1720d91d786..731c2cf07df 100644 --- a/gcc/gcov-io.c +++ b/gcc/gcov-io.c @@ -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;