diff options
author | 2003-06-11 21:03:09 +0000 | |
---|---|---|
committer | 2003-06-11 21:03:09 +0000 | |
commit | f723aa391085d188652b94aedd37f0dd94193fba (patch) | |
tree | e126833f2d9fa0dab58a426c7c390de874c0b447 /lib/libc/gen/getloadavg.c | |
parent | support for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@ (diff) | |
download | wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.tar.xz wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.zip |
ansification; checked by pval
Diffstat (limited to 'lib/libc/gen/getloadavg.c')
-rw-r--r-- | lib/libc/gen/getloadavg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/gen/getloadavg.c b/lib/libc/gen/getloadavg.c index 68c1367efa5..6dfad0310b6 100644 --- a/lib/libc/gen/getloadavg.c +++ b/lib/libc/gen/getloadavg.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getloadavg.c,v 1.4 2003/06/02 20:18:34 millert Exp $"; +static char rcsid[] = "$OpenBSD: getloadavg.c,v 1.5 2003/06/11 21:03:10 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -45,9 +45,7 @@ static char rcsid[] = "$OpenBSD: getloadavg.c,v 1.4 2003/06/02 20:18:34 millert * Return number of samples retrieved, or -1 on error. */ int -getloadavg(loadavg, nelem) - double loadavg[]; - int nelem; +getloadavg(double loadavg[], int nelem) { struct loadavg loadinfo; int i, mib[2]; |