X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=solaris%2Fppp_comp.c;h=cda8ddfe68d524cab9869160ad8f433da650746e;hb=75870d7b55e36af526a0786fff94912989c73fd1;hp=ce545876e40bc59bfb756c7b87aab110f22df926;hpb=d1506f182ba87dd019a9d5594f6acea17a77577f;p=ppp.git diff --git a/solaris/ppp_comp.c b/solaris/ppp_comp.c index ce54587..cda8ddf 100644 --- a/solaris/ppp_comp.c +++ b/solaris/ppp_comp.c @@ -32,7 +32,7 @@ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: ppp_comp.c,v 1.2 2002/12/06 09:49:16 paulus Exp $ + * $Id: ppp_comp.c,v 1.3 2004/01/17 05:47:55 carlsonj Exp $ */ /* @@ -74,12 +74,12 @@ MOD_OPEN_DECL(ppp_comp_open); MOD_CLOSE_DECL(ppp_comp_close); -static int ppp_comp_rput __P((queue_t *, mblk_t *)); -static int ppp_comp_rsrv __P((queue_t *)); -static int ppp_comp_wput __P((queue_t *, mblk_t *)); -static int ppp_comp_wsrv __P((queue_t *)); -static void ppp_comp_ccp __P((queue_t *, mblk_t *, int)); -static int msg_byte __P((mblk_t *, unsigned int)); +static int ppp_comp_rput(queue_t *, mblk_t *); +static int ppp_comp_rsrv(queue_t *); +static int ppp_comp_wput(queue_t *, mblk_t *); +static int ppp_comp_wsrv(queue_t *); +static void ppp_comp_ccp(queue_t *, mblk_t *, int); +static int msg_byte(mblk_t *, unsigned int); /* Extract byte i of message mp. */ #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \ @@ -118,7 +118,7 @@ int ppp_comp_count; /* number of module instances in use */ #ifdef __osf__ -static void ppp_comp_alloc __P((comp_state_t *)); +static void ppp_comp_alloc(comp_state_t *); typedef struct memreq { unsigned char comp_opts[20]; int cmd; @@ -624,7 +624,7 @@ ppp_comp_wsrv(q) if (!bcanputnext(q,mp->b_band)) #else if (!canputnext(q)) -#endif PRIOQ +#endif /* PRIOQ */ { putbq(q, mp); break; @@ -702,7 +702,7 @@ ppp_comp_wsrv(q) if (cmp != NULL) { #ifdef PRIOQ cmp->b_band=mp->b_band; -#endif PRIOQ +#endif /* PRIOQ */ freemsg(mp); mp = cmp; }