patch-2.4.10 linux/drivers/isdn/divert/isdn_divert.c
Next file: linux/drivers/isdn/eicon/Divas_mod.c
Previous file: linux/drivers/isdn/divert/divert_procfs.c
Back to the patch index
Back to the overall index
- Lines: 84
- Date:
Fri Sep 14 14:39:59 2001
- Orig file:
v2.4.9/linux/drivers/isdn/divert/isdn_divert.c
- Orig date:
Fri Mar 2 11:12:08 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/isdn/divert/isdn_divert.c linux/drivers/isdn/divert/isdn_divert.c
@@ -67,7 +67,7 @@
/* timer callback function */
/***************************/
static void deflect_timer_expire(ulong arg)
-{ int flags;
+{ long flags;
struct call_struc *cs = (struct call_struc *) arg;
save_flags(flags);
@@ -125,7 +125,8 @@
int cf_command(int drvid, int mode,
u_char proc, char *msn,
u_char service, char *fwd_nr, ulong *procid)
-{ int retval,msnlen,flags;
+{ long flags;
+ int retval,msnlen;
int fwd_len;
char *p,*ielenp,tmp[60];
struct call_struc *cs;
@@ -220,7 +221,7 @@
int deflect_extern_action(u_char cmd, ulong callid, char *to_nr)
{ struct call_struc *cs;
isdn_ctrl ic;
- int flags;
+ long flags;
int i;
if ((cmd & 0x7F) > 2) return(-EINVAL); /* invalid command */
@@ -291,7 +292,7 @@
/********************************/
int insertrule(int idx, divert_rule *newrule)
{ struct deflect_struc *ds,*ds1=NULL;
- int flags;
+ long flags;
if (!(ds = (struct deflect_struc *) kmalloc(sizeof(struct deflect_struc),
GFP_KERNEL)))
@@ -337,7 +338,7 @@
/***********************************/
int deleterule(int idx)
{ struct deflect_struc *ds,*ds1;
- int flags;
+ long flags;
if (idx < 0)
{ save_flags(flags);
@@ -405,7 +406,7 @@
/*************************************************/
int isdn_divert_icall(isdn_ctrl *ic)
{ int retval = 0;
- int flags;
+ long flags;
struct call_struc *cs = NULL;
struct deflect_struc *dv;
char *p,*p1;
@@ -557,7 +558,7 @@
void deleteprocs(void)
{ struct call_struc *cs, *cs1;
- int flags;
+ long flags;
save_flags(flags);
cli();
@@ -714,7 +715,8 @@
/*********************************************/
int prot_stat_callback(isdn_ctrl *ic)
{ struct call_struc *cs, *cs1;
- int i,flags;
+ int i;
+ long flags;
cs = divert_head; /* start of list */
cs1 = NULL;
@@ -805,7 +807,8 @@
/***************************/
int isdn_divert_stat_callback(isdn_ctrl *ic)
{ struct call_struc *cs, *cs1;
- int flags, retval;
+ long flags;
+ int retval;
retval = -1;
cs = divert_head; /* start of list */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)