diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-03-24 21:59:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-04-28 20:46:49 +0200 |
commit | d170ecc9fcb386bd5f62eb86dd6e411e6fcb4cef (patch) | |
tree | 126711b71773887b2d6093a1d0330504d3a62163 /libgcc/libgcov.h | |
parent | 336ea18ad7f48d675fce8c97bf3b7a0ee3a5a450 (diff) | |
download | gcc-d170ecc9fcb386bd5f62eb86dd6e411e6fcb4cef.zip gcc-d170ecc9fcb386bd5f62eb86dd6e411e6fcb4cef.tar.gz gcc-d170ecc9fcb386bd5f62eb86dd6e411e6fcb4cef.tar.bz2 |
gcov: Add mode to all gcov_open()
gcc/
* gcov-io.cc (gcov_open): Always use the mode parameter.
* gcov-io.h (gcov_open): Declare it unconditionally.
libgcc/
* libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
reading and writing.
* libgcov-util.c (read_gcda_file): Open file for reading.
* libgcov.h (gcov_open): Delete declaration.
Diffstat (limited to 'libgcc/libgcov.h')
-rw-r--r-- | libgcc/libgcov.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libgcc/libgcov.h b/libgcc/libgcov.h index 40e845c..f190547 100644 --- a/libgcc/libgcov.h +++ b/libgcc/libgcov.h @@ -343,7 +343,6 @@ extern int __gcov_execve (const char *, char *const [], char *const []) ATTRIBUTE_HIDDEN; /* Functions that only available in libgcov. */ -GCOV_LINKAGE int gcov_open (const char */*name*/) ATTRIBUTE_HIDDEN; GCOV_LINKAGE void gcov_write_summary (gcov_unsigned_t /*tag*/, const struct gcov_summary *) ATTRIBUTE_HIDDEN; |