summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/wait.c
diff options
context:
space:
mode:
authorjfb <jfb@openbsd.org>2004-05-18 02:05:52 +0000
committerjfb <jfb@openbsd.org>2004-05-18 02:05:52 +0000
commit73b3e3c43784cb5fd04439d34c7436bbf85871db (patch)
tree71c634a881a5350ce76151ea76da19a38936af3a /lib/libc/gen/wait.c
parentsync, libiberty bump, binutils changes (non-split info pages, mmalloc gone) (diff)
downloadwireguard-openbsd-73b3e3c43784cb5fd04439d34c7436bbf85871db.tar.xz
wireguard-openbsd-73b3e3c43784cb5fd04439d34c7436bbf85871db.zip
ansify function definitions and zap some `register'
ok millert@
Diffstat (limited to 'lib/libc/gen/wait.c')
-rw-r--r--lib/libc/gen/wait.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/gen/wait.c b/lib/libc/gen/wait.c
index 800f548e77c..ef7bf7ec2a8 100644
--- a/lib/libc/gen/wait.c
+++ b/lib/libc/gen/wait.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: wait.c,v 1.3 2003/06/02 20:18:35 millert Exp $";
+static char rcsid[] = "$OpenBSD: wait.c,v 1.4 2004/05/18 02:05:52 jfb Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -37,8 +37,7 @@ static char rcsid[] = "$OpenBSD: wait.c,v 1.3 2003/06/02 20:18:35 millert Exp $"
#include <sys/resource.h>
pid_t
-wait(istat)
- int *istat;
+wait(int *istat)
{
return (wait4(WAIT_ANY, istat, 0, (struct rusage *)0));
}