summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-modules_ppp_comp_c
blob: 944d0d80fb0e4cada8bc61842f9c891dabdc95a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- ppp-2.4.5.orig/modules/ppp_comp.c	2009-11-16 23:26:07.000000000 +0100
+++ ppp-2.4.5/modules/ppp_comp.c	2014-03-17 16:13:07.000000000 +0100
@@ -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
 
 #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;