aboutsummaryrefslogtreecommitdiff
path: root/sbin/init
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-07-03 11:37:43 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-07-03 11:37:43 +0000
commit423b6a39ff2f1b9a1d32e1a30b0288afad548ec0 (patch)
tree3c11718d582d0d2918b8b5393117e8a83935234d /sbin/init
parent63ffb113474aff32b0e8bad11d52b816655aa701 (diff)
Notes
Diffstat (limited to 'sbin/init')
-rw-r--r--sbin/init/init.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index 148d59ed2100..fda577a4f1d7 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: init.c,v 1.18 1997/06/28 08:18:29 pst Exp $
+ * $Id: init.c,v 1.19 1997/07/02 13:53:31 ache Exp $
*/
#ifndef lint
@@ -54,6 +54,7 @@ static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 7/15/93";
#include <db.h>
#include <errno.h>
#include <fcntl.h>
+#include <libutil.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -82,13 +83,6 @@ static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 7/15/93";
#include "pathnames.h"
/*
- * Until the mythical util.h arrives...
- */
-extern int login_tty __P((int));
-extern int logout __P((const char *));
-extern void logwtmp __P((const char *, const char *, const char *));
-
-/*
* Sleep times; used to prevent thrashing.
*/
#define GETTY_SPACING 5 /* N secs minimum getty spacing */