From d3d1b69c7aaa4aa142768e0ff58de23134645544 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sat, 2 Jun 2012 16:56:20 +0200 Subject: [PATCH] more ppp.c cleaning --- src/netif/ppp/ppp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/netif/ppp/ppp.c b/src/netif/ppp/ppp.c index 4e020fb8..0d9f6b6d 100644 --- a/src/netif/ppp/ppp.c +++ b/src/netif/ppp/ppp.c @@ -301,12 +301,15 @@ struct protent *protocols[] = { NULL }; + +#if 0 /* * If PPP_DRV_NAME is not defined, use the default "ppp" as the device name. */ #if !defined(PPP_DRV_NAME) #define PPP_DRV_NAME "ppp" #endif /* !defined(PPP_DRV_NAME) */ +#endif #if 0 int ppp_oldmain() { @@ -1134,6 +1137,7 @@ update_link_stats(u) } #endif +#if 0 struct callout { struct timeval c_time; /* time at which to call routine */ void *c_arg; /* argument to routine */ @@ -1143,6 +1147,7 @@ struct callout { static struct callout *callout = NULL; /* Callout list */ static struct timeval timenow; /* Current time */ +#endif #if 0 /*