aboutsummaryrefslogtreecommitdiff
path: root/libiberty/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/clock.c')
-rw-r--r--libiberty/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/clock.c b/libiberty/clock.c
index 3ea70c3..2a59900 100644
--- a/libiberty/clock.c
+++ b/libiberty/clock.c
@@ -67,7 +67,7 @@ number of seconds used.
/* FIXME: should be able to declare as clock_t. */
long
-clock ()
+clock (void)
{
#ifdef HAVE_GETRUSAGE
struct rusage rusage;