removed demand prototypes if not compiled-in

This commit is contained in:
Sylvain Rochet 2012-06-02 01:55:24 +02:00
parent 8b866beaeb
commit cf18e0776d

View File

@ -591,6 +591,7 @@ int bad_ip_adrs __P((u_int32_t));
/* check if IP address is unreasonable */
/* Procedures exported from demand.c */
#if DEMAND_SUPPORT
void demand_conf __P((void)); /* config interface(s) for demand-dial */
void demand_block __P((void)); /* set all NPs to queue up packets */
void demand_unblock __P((void)); /* set all NPs to pass packets */
@ -598,6 +599,7 @@ void demand_discard __P((void)); /* set all NPs to discard packets */
void demand_rexmit __P((int, u_int32_t)); /* retransmit saved frames for an NP*/
int loop_chars __P((unsigned char *, int)); /* process chars from loopback */
int loop_frame __P((unsigned char *, int)); /* should we bring link up? */
#endif /* DEMAND_SUPPORT */
/* Procedures exported from multilink.c */
#ifdef HAVE_MULTILINK