mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-01 22:20:42 +00:00
removed useless error_count global variable
This commit is contained in:
parent
42f672d85d
commit
772cac7946
@ -266,18 +266,14 @@ extern bool explicit_remote;/* remote_name specified with remotename opt */
|
|||||||
/* FIXME: make it a compile time option */
|
/* FIXME: make it a compile time option */
|
||||||
extern int idle_time_limit;/* Shut down link if idle for this long */
|
extern int idle_time_limit;/* Shut down link if idle for this long */
|
||||||
|
|
||||||
extern int phase; /* Current state of link - see values below */
|
|
||||||
extern int error_count; /* # of times error() has been called */
|
|
||||||
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 */
|
||||||
extern int need_holdoff; /* Need holdoff period after link terminates */
|
extern int need_holdoff; /* Need holdoff period after link terminates */
|
||||||
extern u_char outpacket_buf[]; /* Buffer for outgoing packets */
|
extern u_char outpacket_buf[]; /* Buffer for outgoing packets */
|
||||||
|
|
||||||
/* FIXME: add more HAVE_MULTILINK */
|
|
||||||
extern bool multilink; /* enable multilink operation */
|
|
||||||
|
|
||||||
#ifdef HAVE_MULTILINK
|
#ifdef HAVE_MULTILINK
|
||||||
|
extern bool multilink; /* enable multilink operation */
|
||||||
extern bool doing_multilink;
|
extern bool doing_multilink;
|
||||||
extern bool multilink_master;
|
extern bool multilink_master;
|
||||||
extern bool bundle_eof;
|
extern bool bundle_eof;
|
||||||
|
@ -695,7 +695,9 @@ error (char *fmt, ...)
|
|||||||
va_start(pvar, fmt);
|
va_start(pvar, fmt);
|
||||||
logit(LOG_ERR, fmt, pvar);
|
logit(LOG_ERR, fmt, pvar);
|
||||||
va_end(pvar);
|
va_end(pvar);
|
||||||
|
#if 0 /* UNUSED */
|
||||||
++error_count;
|
++error_count;
|
||||||
|
#endif /* UNUSED */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user