removed all useless header files, merged ppp_defs.h to ppp.h

removed session.[ch] and tty.c which are Unix-centric files and disabled
This commit is contained in:
Sylvain Rochet
2012-06-03 13:53:45 +02:00
parent 05c84a147d
commit 5464ed6661
17 changed files with 192 additions and 3431 deletions

View File

@@ -126,7 +126,9 @@
#include "cbcp.h"
#endif
#if 0 /* UNUSED */
#include "session.h"
#endif /* UNUSED */
#if 0 /* UNUSED */
/* Bits in scan_authfile return value */
@@ -1001,7 +1003,12 @@ continue_networks(unit)
*/
for (i = 0; (protp = protocols[i]) != NULL; ++i)
if (protp->protocol < 0xC000
&& protp->protocol != PPP_CCP && protp->protocol != PPP_ECP
#if CCP_SUPPORT
&& protp->protocol != PPP_CCP
#endif /* CCP_SUPPORT */
#if ECP_SUPPORT
&& protp->protocol != PPP_ECP
#endif /* ECP_SUPPORT */
&& protp->enabled_flag && protp->open != NULL) {
(*protp->open)(0);
++num_np_open;