diff options
author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-04-06 17:42:24 +0000 |
---|---|---|
committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-04-06 17:42:24 +0000 |
commit | 410f13a58d44e0f19306df28a99227015a2a688a (patch) | |
tree | 6917509076662e949056f693acf45f823b27cccb /libexec | |
parent | 2424b1185195850c1b47db3d46079ef62704ed28 (diff) | |
download | src-410f13a58d44e0f19306df28a99227015a2a688a.tar.gz src-410f13a58d44e0f19306df28a99227015a2a688a.zip |
Include gettytab.h before extern.h so that the declarations of struct
gettyflags, gettynums and gettystrs are available.
Notes
Notes:
svn path=/head/; revision=144716
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/getty/chat.c | 1 | ||||
-rw-r--r-- | libexec/getty/extern.h | 3 | ||||
-rw-r--r-- | libexec/getty/init.c | 2 | ||||
-rw-r--r-- | libexec/getty/main.c | 2 |
4 files changed, 3 insertions, 5 deletions
diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c index 8256bb13fb6c..bc5a963c8a35 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 f8e8bda12a09..04f3287c9bb9 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 c83a83e487c0..b832bb29fa8b 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 ceea00966564..ad53411b57fb 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" /* |