summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1996-05-15 23:46:50 +0000
committerjtc <jtc@NetBSD.org>1996-05-15 23:46:50 +0000
commit01120f4477f7c19cf668539cff67acd30a040ce7 (patch)
treeb71b2d44dbf2cbb06950ff222eb113b556ed68f6
parent46d44c05b098e341df3ed2cc4c441506b4045c04 (diff)
Updated to use <util.h>.
From Greg Hudson <ghudson@MIT.EDU>.
-rw-r--r--libexec/getty/extern.h4
-rw-r--r--libexec/getty/main.c3
-rw-r--r--usr.bin/login/login.c5
3 files changed, 6 insertions, 6 deletions
diff --git a/libexec/getty/extern.h b/libexec/getty/extern.h
index 366316641b8..5402c4a3f15 100644
--- a/libexec/getty/extern.h
+++ b/libexec/getty/extern.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/4/93
- * $Id: extern.h,v 1.2 1994/08/17 20:10:29 pk Exp $
+ * $Id: extern.h,v 1.3 1996/05/15 23:46:50 jtc Exp $
*/
struct delayval;
@@ -53,5 +53,3 @@ void setchars __P((void));
void setdefaults __P((void));
void setflags __P((int));
int speed __P((int));
-
-int login_tty __P((int)); /* From libutil. */
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 9395ebe2226..83c554ac266 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -39,7 +39,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
-static char rcsid[] = "$Id: main.c,v 1.16 1996/02/08 06:19:14 mycroft Exp $";
+static char rcsid[] = "$Id: main.c,v 1.17 1996/05/15 23:46:52 jtc Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -61,6 +61,7 @@ static char rcsid[] = "$Id: main.c,v 1.16 1996/02/08 06:19:14 mycroft Exp $";
#include <syslog.h>
#include <time.h>
#include <unistd.h>
+#include <util.h>
#include "gettytab.h"
#include "pathnames.h"
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c
index bbee15806b3..7d4795fe2e9 100644
--- a/usr.bin/login/login.c
+++ b/usr.bin/login/login.c
@@ -1,4 +1,4 @@
-/* $NetBSD: login.c,v 1.12 1994/12/23 06:53:01 jtc Exp $ */
+/* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */
/*-
* Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
-static char rcsid[] = "$NetBSD: login.c,v 1.12 1994/12/23 06:53:01 jtc Exp $";
+static char rcsid[] = "$NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $";
#endif /* not lint */
/*
@@ -72,6 +72,7 @@ static char rcsid[] = "$NetBSD: login.c,v 1.12 1994/12/23 06:53:01 jtc Exp $";
#include <tzfile.h>
#include <unistd.h>
#include <utmp.h>
+#include <util.h>
#include "pathnames.h"