From befd08fb80e0f4bfe138e6c9cee448e49cccf500 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 2 Jun 2000 09:31:04 -0500 Subject: [svn-r2320] Patched "print_stats" routine parameters for machines with no getrusage() call. (Like the Crays) --- test/iopipe.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/iopipe.c b/test/iopipe.c index 5f62918..7b78df1 100644 --- a/test/iopipe.c +++ b/test/iopipe.c @@ -79,11 +79,19 @@ * *------------------------------------------------------------------------- */ +#ifdef HAVE_GETRUSAGE static void print_stats (const char *prefix, struct rusage *r_start, struct rusage *r_stop, struct timeval *t_start, struct timeval *t_stop, size_t nbytes) +#else /* HAVE_GETRUSAGE */ +static void +print_stats (const char *prefix, + struct timeval *r_start, struct timeval *r_stop, + struct timeval *t_start, struct timeval *t_stop, + size_t nbytes) +#endif /* HAVE_GETRUSAGE */ { double e_time, bw; #ifdef HAVE_GETRUSAGE -- cgit v0.12