mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-11 08:54:38 +08:00
removed some useless extern
This commit is contained in:
parent
772cac7946
commit
2da930ba4c
@ -255,17 +255,9 @@ struct epdisc {
|
|||||||
/*
|
/*
|
||||||
* Global variables.
|
* Global variables.
|
||||||
*/
|
*/
|
||||||
/* FIXME: improve debug flag */
|
|
||||||
extern int debug; /* Debug flag */
|
|
||||||
|
|
||||||
/* FIXME: is our_name really necessary ? */
|
|
||||||
extern char our_name[MAXNAMELEN];/* Our name for authentication purposes */
|
|
||||||
extern char remote_name[MAXNAMELEN]; /* Peer's name for authentication */
|
extern char remote_name[MAXNAMELEN]; /* Peer's name for authentication */
|
||||||
extern bool explicit_remote;/* remote_name specified with remotename opt */
|
extern bool explicit_remote;/* remote_name specified with remotename opt */
|
||||||
|
|
||||||
/* FIXME: make it a compile time option */
|
|
||||||
extern int idle_time_limit;/* Shut down link if idle for this long */
|
|
||||||
|
|
||||||
extern int unsuccess; /* # unsuccessful connection attempts */
|
extern int unsuccess; /* # unsuccessful connection attempts */
|
||||||
extern int listen_time; /* time to listen first (ms) */
|
extern int listen_time; /* time to listen first (ms) */
|
||||||
extern int status; /* exit status for pppd */
|
extern int status; /* exit status for pppd */
|
||||||
@ -430,6 +422,7 @@ struct ppp_settings {
|
|||||||
u_int usepeerdns : 1; /* Ask peer for DNS adds */
|
u_int usepeerdns : 1; /* Ask peer for DNS adds */
|
||||||
u_int persist : 1; /* Persist mode, always try to reopen the connection */
|
u_int persist : 1; /* Persist mode, always try to reopen the connection */
|
||||||
|
|
||||||
|
/* FIXME: make it a compile time option */
|
||||||
u_short idle_time_limit; /* Disconnect if idle for this many seconds */
|
u_short idle_time_limit; /* Disconnect if idle for this many seconds */
|
||||||
int maxconnect; /* Maximum connect time (seconds) */
|
int maxconnect; /* Maximum connect time (seconds) */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user