mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-05 14:04:38 +08:00
more ppp.c cleaning
This commit is contained in:
parent
922d3716ff
commit
d3d1b69c7a
@ -301,12 +301,15 @@ struct protent *protocols[] = {
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* If PPP_DRV_NAME is not defined, use the default "ppp" as the device name.
|
* If PPP_DRV_NAME is not defined, use the default "ppp" as the device name.
|
||||||
*/
|
*/
|
||||||
#if !defined(PPP_DRV_NAME)
|
#if !defined(PPP_DRV_NAME)
|
||||||
#define PPP_DRV_NAME "ppp"
|
#define PPP_DRV_NAME "ppp"
|
||||||
#endif /* !defined(PPP_DRV_NAME) */
|
#endif /* !defined(PPP_DRV_NAME) */
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
int ppp_oldmain() {
|
int ppp_oldmain() {
|
||||||
@ -1134,6 +1137,7 @@ update_link_stats(u)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
struct callout {
|
struct callout {
|
||||||
struct timeval c_time; /* time at which to call routine */
|
struct timeval c_time; /* time at which to call routine */
|
||||||
void *c_arg; /* argument to routine */
|
void *c_arg; /* argument to routine */
|
||||||
@ -1143,6 +1147,7 @@ struct callout {
|
|||||||
|
|
||||||
static struct callout *callout = NULL; /* Callout list */
|
static struct callout *callout = NULL; /* Callout list */
|
||||||
static struct timeval timenow; /* Current time */
|
static struct timeval timenow; /* Current time */
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user