Include gettytab.h before extern.h so that the declarations of struct

gettyflags, gettynums and gettystrs are available.
This commit is contained in:
Stefan Farfeleder 2005-04-06 17:42:24 +00:00
parent 2424b11851
commit 410f13a58d
4 changed files with 3 additions and 5 deletions

View File

@ -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 */

View File

@ -36,9 +36,6 @@
struct delayval;
struct termios;
struct gettyflags;
struct gettynums;
struct gettystrs;
extern char hostname[];
extern int hopcount;

View File

@ -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: ";

View File

@ -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"
/*