diff options
| author | jtc <jtc@NetBSD.org> | 1996-05-15 23:46:50 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1996-05-15 23:46:50 +0000 |
| commit | 01120f4477f7c19cf668539cff67acd30a040ce7 (patch) | |
| tree | b71b2d44dbf2cbb06950ff222eb113b556ed68f6 /libexec/getty | |
| parent | 46d44c05b098e341df3ed2cc4c441506b4045c04 (diff) | |
Updated to use <util.h>.
From Greg Hudson <ghudson@MIT.EDU>.
Diffstat (limited to 'libexec/getty')
| -rw-r--r-- | libexec/getty/extern.h | 4 | ||||
| -rw-r--r-- | libexec/getty/main.c | 3 |
2 files changed, 3 insertions, 4 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" |
