diff options
author | ache <ache@FreeBSD.org> | 1997-07-03 11:37:43 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-07-03 11:37:43 +0000 |
commit | b44556e359c3338b60a35dedda121c336e232ec0 (patch) | |
tree | d3d25af27294bb386e1a4fb090f8ca91b3b234c4 /sbin | |
parent | e8004701982f0524963683d4f72f00bb9897a3dd (diff) | |
download | FreeBSD-src-b44556e359c3338b60a35dedda121c336e232ec0.zip FreeBSD-src-b44556e359c3338b60a35dedda121c336e232ec0.tar.gz |
Include <libutil.h> instead of private declarations
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/init/init.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c index 148d59e..fda577a 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 */ |