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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144716
@ -39,6 +39,7 @@ static const char rcsid[] =
|
|||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include "gettytab.h"
|
||||||
#include "extern.h"
|
#include "extern.h"
|
||||||
|
|
||||||
#define PAUSE_CH (unsigned char)'\xff' /* pause kludge */
|
#define PAUSE_CH (unsigned char)'\xff' /* pause kludge */
|
||||||
|
@ -36,9 +36,6 @@
|
|||||||
|
|
||||||
struct delayval;
|
struct delayval;
|
||||||
struct termios;
|
struct termios;
|
||||||
struct gettyflags;
|
|
||||||
struct gettynums;
|
|
||||||
struct gettystrs;
|
|
||||||
|
|
||||||
extern char hostname[];
|
extern char hostname[];
|
||||||
extern int hopcount;
|
extern int hopcount;
|
||||||
|
@ -45,8 +45,8 @@ static const char rcsid[] =
|
|||||||
* Melbourne getty.
|
* Melbourne getty.
|
||||||
*/
|
*/
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include "extern.h"
|
|
||||||
#include "gettytab.h"
|
#include "gettytab.h"
|
||||||
|
#include "extern.h"
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
|
|
||||||
static char loginmsg[] = "login: ";
|
static char loginmsg[] = "login: ";
|
||||||
|
@ -67,8 +67,8 @@ static const char rcsid[] =
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "extern.h"
|
|
||||||
#include "gettytab.h"
|
#include "gettytab.h"
|
||||||
|
#include "extern.h"
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user