summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-22 12:10:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-22 12:10:14 +0000
commit6d247315f8fe2f66f6af1eb87db722f200c40e40 (patch)
tree1cbc0e238d628068e54958b5875747bc0678413d /libexec
parent7d9773c24986de06166fe58df6a3a7c3e8b41ad1 (diff)
libutil
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/extern.h4
-rw-r--r--libexec/getty/main.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/libexec/getty/extern.h b/libexec/getty/extern.h
index b2db3c629af..9d95d611272 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.1 1995/10/18 08:43:17 deraadt Exp $
+ * $Id: extern.h,v 1.2 1996/05/22 12:10:12 deraadt 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 4dcf1e4825c..06fdaf02dcf 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.3 1996/02/22 10:39:28 niklas Exp $";
+static char rcsid[] = "$Id: main.c,v 1.4 1996/05/22 12:10:13 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -61,6 +61,7 @@ static char rcsid[] = "$Id: main.c,v 1.3 1996/02/22 10:39:28 niklas Exp $";
#include <syslog.h>
#include <time.h>
#include <unistd.h>
+#include <util.h>
#include "gettytab.h"
#include "pathnames.h"