* gcov-io.c: Convert prototypes to ISO C90.
* gcov-io.h: Likewise.
From-SVN: r68735
on failure or error flag set. */
GCOV_LINKAGE int
-gcov_close ()
+gcov_close (void)
{
if (gcov_var.file)
{
error, overflow flag on overflow */
GCOV_LINKAGE gcov_unsigned_t
-gcov_read_unsigned ()
+gcov_read_unsigned (void)
{
gcov_unsigned_t value = 0;
unsigned ix;
error, overflow flag on overflow */
GCOV_LINKAGE gcov_type
-gcov_read_counter ()
+gcov_read_counter (void)
{
gcov_type value = 0;
unsigned ix;
#if !IN_LIBGCOV
GCOV_LINKAGE const char *
-gcov_read_string ()
+gcov_read_string (void)
{
unsigned length = gcov_read_unsigned ();
/* Return the modification time of the current gcov file. */
GCOV_LINKAGE time_t
-gcov_time ()
+gcov_time (void)
{
struct stat status;
/* Return nonzero if we read to end of file. */
static inline int
-gcov_is_eof ()
+gcov_is_eof (void)
{
return !gcov_var.overread;
}
/* Return nonzero if the error flag is set. */
static inline int
-gcov_is_error ()
+gcov_is_error (void)
{
return gcov_var.file ? gcov_var.error : 1;
}