X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-ultrix.c;h=d3236ec897f64ca493b74e47b572400a2d9484ff;hb=fc1c5cdfc62dbfc81f42f77f72e21f72ad53edcb;hp=0301a8ac1b874721171f1558c76ea71f3ac409ee;hpb=35c1597839e4cb57f81119576efd4bd5a376ddc4;p=ppp.git diff --git a/pppd/sys-ultrix.c b/pppd/sys-ultrix.c index 0301a8a..d3236ec 100644 --- a/pppd/sys-ultrix.c +++ b/pppd/sys-ultrix.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-ultrix.c,v 1.1 1994/04/18 04:11:11 paulus Exp $"; +static char rcsid[] = "$Id: sys-ultrix.c,v 1.2 1994/05/06 04:48:21 paulus Exp $"; #endif /* @@ -27,9 +27,9 @@ static char rcsid[] = "$Id: sys-ultrix.c,v 1.1 1994/04/18 04:11:11 paulus Exp $" */ #include -#include #include #include +#include #include #include @@ -43,7 +43,7 @@ static char rcsid[] = "$Id: sys-ultrix.c,v 1.1 1994/04/18 04:11:11 paulus Exp $" #include "ppp.h" static int initdisc = -1; /* Initial TTY discipline */ - +extern int kdebugflag; /* * establish_ppp - Turn the serial port into a ppp interface. @@ -52,6 +52,7 @@ void establish_ppp() { int pppdisc = PPPDISC; + int x; if (ioctl(fd, TIOCGETD, &initdisc) < 0) { syslog(LOG_ERR, "ioctl(TIOCGETD): %m");