summaryrefslogtreecommitdiff
path: root/gcc/gcov-io.c
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-30 19:45:17 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-30 19:45:17 +0000
commit53b2c31f6465e5c1c65a2e046b9673dcc72691cd (patch)
tree492edd5b8ca7043427394972383662f8ef223943 /gcc/gcov-io.c
parentc0f1940108d8b5210d3816e3152bdac37d421c93 (diff)
downloadgcc-53b2c31f6465e5c1c65a2e046b9673dcc72691cd.tar.gz
* gcov-io.c: Convert prototypes to ISO C90.
* gcov-io.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68735 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov-io.c')
-rw-r--r--gcc/gcov-io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/gcov-io.c b/gcc/gcov-io.c
index 6f4f1b8b688..d0ca1266447 100644
--- a/gcc/gcov-io.c
+++ b/gcc/gcov-io.c
@@ -90,7 +90,7 @@ gcov_open (const char *name, int mode)
on failure or error flag set. */
GCOV_LINKAGE int
-gcov_close ()
+gcov_close (void)
{
if (gcov_var.file)
{
@@ -388,7 +388,7 @@ gcov_read_bytes (unsigned bytes)
error, overflow flag on overflow */
GCOV_LINKAGE gcov_unsigned_t
-gcov_read_unsigned ()
+gcov_read_unsigned (void)
{
gcov_unsigned_t value = 0;
unsigned ix;
@@ -411,7 +411,7 @@ gcov_read_unsigned ()
error, overflow flag on overflow */
GCOV_LINKAGE gcov_type
-gcov_read_counter ()
+gcov_read_counter (void)
{
gcov_type value = 0;
unsigned ix;
@@ -438,7 +438,7 @@ gcov_read_counter ()
#if !IN_LIBGCOV
GCOV_LINKAGE const char *
-gcov_read_string ()
+gcov_read_string (void)
{
unsigned length = gcov_read_unsigned ();
@@ -506,7 +506,7 @@ gcov_seek (gcov_position_t base)
/* Return the modification time of the current gcov file. */
GCOV_LINKAGE time_t
-gcov_time ()
+gcov_time (void)
{
struct stat status;