diff --git a/src/netif/ppp/ppp_impl.h b/src/netif/ppp/ppp_impl.h index dc0ddef2..fe160150 100644 --- a/src/netif/ppp/ppp_impl.h +++ b/src/netif/ppp/ppp_impl.h @@ -266,18 +266,14 @@ 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 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 listen_time; /* time to listen first (ms) */ extern int status; /* exit status for pppd */ extern int need_holdoff; /* Need holdoff period after link terminates */ extern u_char outpacket_buf[]; /* Buffer for outgoing packets */ -/* FIXME: add more HAVE_MULTILINK */ -extern bool multilink; /* enable multilink operation */ - #ifdef HAVE_MULTILINK +extern bool multilink; /* enable multilink operation */ extern bool doing_multilink; extern bool multilink_master; extern bool bundle_eof; diff --git a/src/netif/ppp/utils.c b/src/netif/ppp/utils.c index 1bdae379..bc49d886 100644 --- a/src/netif/ppp/utils.c +++ b/src/netif/ppp/utils.c @@ -695,7 +695,9 @@ error (char *fmt, ...) va_start(pvar, fmt); logit(LOG_ERR, fmt, pvar); va_end(pvar); +#if 0 /* UNUSED */ ++error_count; +#endif /* UNUSED */ } /*