Commit 74d2b907 by Nathan Sidwell Committed by Nathan Sidwell

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

From-SVN: r241155
parent 14cf71a0
2016-10-14 Nathan Sidwell <nathan@acm.org>
* gcov-io.c (gcov_open): Deconstify 'mode'.
2016-10-14 Martin Liska <mliska@suse.cz> 2016-10-14 Martin Liska <mliska@suse.cz>
* fold-const.c (c_getstr): Support of properly \0-terminated * fold-const.c (c_getstr): Support of properly \0-terminated
......
...@@ -127,7 +127,7 @@ gcov_open (const char *name, int mode) ...@@ -127,7 +127,7 @@ gcov_open (const char *name, int mode)
#endif #endif
{ {
#if IN_LIBGCOV #if IN_LIBGCOV
const int mode = 0; int mode = 0;
#endif #endif
#if GCOV_LOCKED #if GCOV_LOCKED
struct flock s_flock; struct flock s_flock;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment