aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-04-06 17:42:24 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-04-06 17:42:24 +0000
commit410f13a58d44e0f19306df28a99227015a2a688a (patch)
tree6917509076662e949056f693acf45f823b27cccb /libexec
parent2424b1185195850c1b47db3d46079ef62704ed28 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/chat.c1
-rw-r--r--libexec/getty/extern.h3
-rw-r--r--libexec/getty/init.c2
-rw-r--r--libexec/getty/main.c2
4 files changed, 3 insertions, 5 deletions
diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c
index 8256bb13fb6c4..bc5a963c8a358 100644
--- a/libexec/getty/chat.c
+++ b/libexec/getty/chat.c
@@ -39,6 +39,7 @@ static const char rcsid[] =
#include <syslog.h>
#include <unistd.h>
+#include "gettytab.h"
#include "extern.h"
#define PAUSE_CH (unsigned char)'\xff' /* pause kludge */
diff --git a/libexec/getty/extern.h b/libexec/getty/extern.h
index f8e8bda12a099..04f3287c9bb93 100644
--- a/libexec/getty/extern.h
+++ b/libexec/getty/extern.h
@@ -36,9 +36,6 @@
struct delayval;
struct termios;
-struct gettyflags;
-struct gettynums;
-struct gettystrs;
extern char hostname[];
extern int hopcount;
diff --git a/libexec/getty/init.c b/libexec/getty/init.c
index c83a83e487c0f..b832bb29fa8b2 100644
--- a/libexec/getty/init.c
+++ b/libexec/getty/init.c
@@ -45,8 +45,8 @@ static const char rcsid[] =
* Melbourne getty.
*/
#include <termios.h>
-#include "extern.h"
#include "gettytab.h"
+#include "extern.h"
#include "pathnames.h"
static char loginmsg[] = "login: ";
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index ceea009665648..ad53411b57fb8 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -67,8 +67,8 @@ static const char rcsid[] =
#include <time.h>
#include <unistd.h>
-#include "extern.h"
#include "gettytab.h"
+#include "extern.h"
#include "pathnames.h"
/*