diff options
author | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2011-07-11 15:05:06 +0200 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2011-07-11 15:05:06 +0200 |
commit | 4c9a161eb56a2bfb96625f2c592e88d5dd0312ad (patch) | |
tree | d55d5eb936f5728d5018571f096bc554c397572e /sysdeps/openbsd | |
parent | 32833323d9aba6698ae7a37a86ef92e297375de6 (diff) | |
download | libgtop-4c9a161eb56a2bfb96625f2c592e88d5dd0312ad.tar.gz |
ansify function declaration, no binary change.
Diffstat (limited to 'sysdeps/openbsd')
-rw-r--r-- | sysdeps/openbsd/proctime.c | 9 |
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; |