mirror of git://gcc.gnu.org/git/gcc.git
* gcov-io.c (gcov_open): Deconstify 'mode'.
From-SVN: r241155
This commit is contained in:
parent
14cf71a0df
commit
74d2b9071b
|
|
@ -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>
|
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)
|
||||||
#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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue