Need <stdlib.h> for exit() prototype (noticed by gcc 3.1).

This commit is contained in:
thorpej 2001-12-31 20:16:34 +00:00
parent 19a95cad9c
commit ed2b20a87a
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: initfini.c,v 1.1 2001/07/17 03:41:03 thorpej Exp $ */
/* $NetBSD: initfini.c,v 1.2 2001/12/31 20:16:34 thorpej Exp $ */
/*
* This file placed in the public domain.
@ -6,6 +6,7 @@
*/
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
void i_am_init(void);

View File

@ -1,4 +1,4 @@
/* $NetBSD: ioctl.c,v 1.1 2001/09/20 16:56:53 atatat Exp $ */
/* $NetBSD: ioctl.c,v 1.2 2001/12/31 20:18:28 thorpej Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: ioctl.c,v 1.1 2001/09/20 16:56:53 atatat Exp $");
__RCSID("$NetBSD: ioctl.c,v 1.2 2001/12/31 20:18:28 thorpej Exp $");
#endif
#include <errno.h>
@ -47,6 +47,7 @@ __RCSID("$NetBSD: ioctl.c,v 1.1 2001/09/20 16:56:53 atatat Exp $");
#include <signal.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <err.h>
#include <sys/types.h>
#include <sys/wait.h>