summaryrefslogtreecommitdiff
path: root/sbin/init
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-22 11:36:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-22 11:36:02 +0000
commit806021be093ad00ce2022a532c0f4cc99b0065ac (patch)
treec4f374fc66dbd93cdd093f4e1213808e855c8b39 /sbin/init
parent200dde568cd8db5fa9ddc42e6b5388df55a16573 (diff)
libutil
Diffstat (limited to 'sbin/init')
-rw-r--r--sbin/init/init.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index d0788c6826e..96b3bc1caa2 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.21 1995/10/05 06:11:24 mycroft Exp $ */
+/* $NetBSD: init.c,v 1.22 1996/05/15 23:29:33 jtc Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -46,7 +46,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 7/15/93";
#else
-static char rcsid[] = "$NetBSD: init.c,v 1.21 1995/10/05 06:11:24 mycroft Exp $";
+static char rcsid[] = "$NetBSD: init.c,v 1.22 1996/05/15 23:29:33 jtc Exp $";
#endif
#endif /* not lint */
@@ -65,6 +65,7 @@ static char rcsid[] = "$NetBSD: init.c,v 1.21 1995/10/05 06:11:24 mycroft Exp $"
#include <time.h>
#include <ttyent.h>
#include <unistd.h>
+#include <util.h>
#ifdef __STDC__
#include <stdarg.h>
@@ -79,13 +80,6 @@ static char rcsid[] = "$NetBSD: init.c,v 1.21 1995/10/05 06:11:24 mycroft Exp $"
#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 */