* gcov-io.c (gcov_open): Deconstify 'mode'.

From-SVN: r241155
This commit is contained in:
Nathan Sidwell 2016-10-14 10:51:58 +00:00 committed by Nathan Sidwell
parent 14cf71a0df
commit 74d2b9071b
2 changed files with 5 additions and 1 deletions

View 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

View 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;