X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fdemand.c;h=86f286b28e2e207473c74b655cc3b0de01aee42d;hp=86c176e607f89965f91f889ef9266a4a6405ca61;hb=875d9641d05b4fcb7e186f784c801962bb2670e5;hpb=245edcbc083b72db45d78ef4880a4a0f5e3d3e16;ds=sidebyside diff --git a/pppd/demand.c b/pppd/demand.c index 86c176e..86f286b 100644 --- a/pppd/demand.c +++ b/pppd/demand.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: demand.c,v 1.9 1999/03/19 01:21:28 paulus Exp $"; +static const char rcsid[] = "$Id: demand.c,v 1.11 1999/08/12 04:25:20 paulus Exp $"; #endif #include @@ -62,7 +62,6 @@ struct packet *pend_q; struct packet *pend_qtail; static int active_packet __P((unsigned char *, int)); -static int loop_frame __P((unsigned char *, int)); /* * demand_conf - configure the interface for doing dial-on-demand. @@ -255,7 +254,7 @@ loop_chars(p, n) * We apply the active_filter to see if we want this packet to * bring up the link. */ -static int +int loop_frame(frame, len) unsigned char *frame; int len;