[libgtop] ansify function declaration, no binary change.



commit 4c9a161eb56a2bfb96625f2c592e88d5dd0312ad
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Mon Jul 11 15:05:06 2011 +0200

    ansify function declaration, no binary change.

 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 6b8d8e4..79d7daf 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]