forked from Imagelibrary/rtems
Removed warning.
This commit is contained in:
@@ -93,8 +93,8 @@ char *connector[]={"TIMEOUT","3","ABORT","\nBUSY\r","ABORT","\nNO DIALTONE\r","A
|
||||
/*char *connector[]={"TIMEOUT","3","ABORT","\nBUSY\r","ABORT","\nNO DIALTONE\r","ABORT","\nNO CARRIER\r","ABORT","\nNO ANSWER\r","ABORT","\nRINGING\r\n\r\nRINGING\r",
|
||||
"","\rAT","OK-+++\\c-OK","ATH0","TIMEOUT","30","OK","ATDT0202122","CONNECT","","ppp","","Username:","ppp","Password:","ppp"};
|
||||
*/
|
||||
char *disconnector []; /* Script to disestablish physical link */
|
||||
char *welcomer []; /* Script to run after phys link estab. */
|
||||
char **disconnector; /* Script to disestablish physical link */
|
||||
char **welcomer; /* Script to run after phys link estab. */
|
||||
int maxconnect = 0; /* Maximum connect time */
|
||||
char user[MAXNAMELEN]="stb"; /* Username for PAP */
|
||||
char passwd[MAXSECRETLEN]="stb"; /* Password for PAP */
|
||||
|
||||
@@ -86,8 +86,8 @@ extern u_int32_t netmask; /* IP netmask to set on interface */
|
||||
extern int lockflag; /* Create lock file to lock the serial dev */
|
||||
extern int nodetach; /* Don't detach from controlling tty */
|
||||
extern char *connector[]; /* Script to establish physical link */
|
||||
extern char *disconnector[]; /* Script to disestablish physical link */
|
||||
extern char *welcomer[]; /* Script to welcome client after connection */
|
||||
extern char **disconnector; /* Script to disestablish physical link */
|
||||
extern char **welcomer; /* Script to welcome client after connection */
|
||||
extern int maxconnect; /* Maximum connect time (seconds) */
|
||||
extern char user[]; /* Our name for authenticating ourselves */
|
||||
extern char passwd[]; /* Password for PAP */
|
||||
|
||||
@@ -507,8 +507,8 @@ output(unit, p, len)
|
||||
}
|
||||
|
||||
extern int rtems_bsdnet_microseconds_per_tick;
|
||||
#include <rtems/rtems_bsdnet_internal.h>
|
||||
#include <rtems/rtems/event.h>
|
||||
#include <rtems.h>
|
||||
#include <rtems/rtems_bsdnet.h>
|
||||
/*
|
||||
* wait_input - wait until there is data available on ttyfd,
|
||||
* for the length of time specified by *timo (indefinite
|
||||
@@ -1039,7 +1039,7 @@ dodefaultroute(g, cmd)
|
||||
|
||||
struct sockaddr_in address;
|
||||
struct sockaddr_in netmask;
|
||||
struct sockaddr_in broadcast;
|
||||
/* struct sockaddr_in broadcast; */
|
||||
struct sockaddr_in gateway;
|
||||
|
||||
/* struct {
|
||||
|
||||
Reference in New Issue
Block a user