X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=modules%2Fppp_comp.c;h=9e204d9d0cdf7da1457044c213fe4ab8999b7fdf;hb=20fa5e803ff90eb9c90055afd679d1f2c00932bf;hp=97d13ebd3bf608b624718e60ed23566f191588e3;hpb=d1506f182ba87dd019a9d5594f6acea17a77577f;p=ppp.git diff --git a/modules/ppp_comp.c b/modules/ppp_comp.c index 97d13eb..9e204d9 100644 --- a/modules/ppp_comp.c +++ b/modules/ppp_comp.c @@ -31,8 +31,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN * 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.14 2002/12/06 09:49:15 paulus Exp $ */ /* @@ -74,12 +72,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 +116,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;