summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2011-07-11 15:05:06 +0200
committerJasper Lievisse Adriaanse <jasper@humppa.nl>2011-07-11 15:05:06 +0200
commit4c9a161eb56a2bfb96625f2c592e88d5dd0312ad (patch)
treed55d5eb936f5728d5018571f096bc554c397572e
parent32833323d9aba6698ae7a37a86ef92e297375de6 (diff)
downloadlibgtop-4c9a161eb56a2bfb96625f2c592e88d5dd0312ad.tar.gz
ansify function declaration, no binary change.
-rw-r--r--sysdeps/openbsd/proctime.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sysdeps/openbsd/proctime.c b/sysdeps/openbsd/proctime.c
index 6b8d8e4a..79d7dafe 100644
--- a/sysdeps/openbsd/proctime.c
+++ b/sysdeps/openbsd/proctime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proctime.c,v 1.4 2011/05/31 14:02:26 jasper Exp $ */
+/* $OpenBSD: proctime.c,v 1.5 2011/07/10 15:29:26 jasper Exp $ */
/* Copyright (C) 1998-99 Martin Baulig
This file is part of LibGTop 1.0.
@@ -66,11 +66,8 @@ _glibtop_init_proc_time_p (glibtop *server)
*/
static void
-calcru(p, up, sp, ip)
- struct proc *p;
- struct timeval *up;
- struct timeval *sp;
- struct timeval *ip;
+calcru(struct proc *p, struct timeval *up, struct timeval *sp,
+ struct timeval *ip)
{
quad_t totusec;
u_quad_t u, st, ut, it, tot;