Include gettytab.h before extern.h so that the declarations of struct
gettyflags, gettynums and gettystrs are available.
This commit is contained in:
parent
2424b11851
commit
410f13a58d
@ -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 */
|
||||
|
@ -36,9 +36,6 @@
|
||||
|
||||
struct delayval;
|
||||
struct termios;
|
||||
struct gettyflags;
|
||||
struct gettynums;
|
||||
struct gettystrs;
|
||||
|
||||
extern char hostname[];
|
||||
extern int hopcount;
|
||||
|
@ -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: ";
|
||||
|
@ -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"
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user