diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-01 11:59:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:29 -0400 |
commit | 408b664a7d394a5e4315fbd14aca49b042cb2b08 (patch) | |
tree | bd3ebe72229227962d157e46e61ed65b78d6e28b /drivers/isdn/divert/isdn_divert.c | |
parent | c31403a1f5a761599df38bcc2d6ba94f24320c33 (diff) |
[PATCH] make lots of things static
Another large rollup of various patches from Adrian which make things static
where they were needlessly exported.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/divert/isdn_divert.c')
-rw-r--r-- | drivers/isdn/divert/isdn_divert.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/isdn/divert/isdn_divert.c b/drivers/isdn/divert/isdn_divert.c index 1eb112213f0c..0bfd698726a6 100644 --- a/drivers/isdn/divert/isdn_divert.c +++ b/drivers/isdn/divert/isdn_divert.c | |||
@@ -383,7 +383,7 @@ divert_rule *getruleptr(int idx) | |||
383 | /*************************************************/ | 383 | /*************************************************/ |
384 | /* called from common module on an incoming call */ | 384 | /* called from common module on an incoming call */ |
385 | /*************************************************/ | 385 | /*************************************************/ |
386 | int isdn_divert_icall(isdn_ctrl *ic) | 386 | static int isdn_divert_icall(isdn_ctrl *ic) |
387 | { int retval = 0; | 387 | { int retval = 0; |
388 | unsigned long flags; | 388 | unsigned long flags; |
389 | struct call_struc *cs = NULL; | 389 | struct call_struc *cs = NULL; |
@@ -552,7 +552,7 @@ void deleteprocs(void) | |||
552 | /****************************************************/ | 552 | /****************************************************/ |
553 | /* put a address including address type into buffer */ | 553 | /* put a address including address type into buffer */ |
554 | /****************************************************/ | 554 | /****************************************************/ |
555 | int put_address(char *st, u_char *p, int len) | 555 | static int put_address(char *st, u_char *p, int len) |
556 | { u_char retval = 0; | 556 | { u_char retval = 0; |
557 | u_char adr_typ = 0; /* network standard */ | 557 | u_char adr_typ = 0; /* network standard */ |
558 | 558 | ||
@@ -595,7 +595,7 @@ int put_address(char *st, u_char *p, int len) | |||
595 | /*************************************/ | 595 | /*************************************/ |
596 | /* report a succesfull interrogation */ | 596 | /* report a succesfull interrogation */ |
597 | /*************************************/ | 597 | /*************************************/ |
598 | int interrogate_success(isdn_ctrl *ic, struct call_struc *cs) | 598 | static int interrogate_success(isdn_ctrl *ic, struct call_struc *cs) |
599 | { char *src = ic->parm.dss1_io.data; | 599 | { char *src = ic->parm.dss1_io.data; |
600 | int restlen = ic->parm.dss1_io.datalen; | 600 | int restlen = ic->parm.dss1_io.datalen; |
601 | int cnt = 1; | 601 | int cnt = 1; |
@@ -689,7 +689,7 @@ int interrogate_success(isdn_ctrl *ic, struct call_struc *cs) | |||
689 | /*********************************************/ | 689 | /*********************************************/ |
690 | /* callback for protocol specific extensions */ | 690 | /* callback for protocol specific extensions */ |
691 | /*********************************************/ | 691 | /*********************************************/ |
692 | int prot_stat_callback(isdn_ctrl *ic) | 692 | static int prot_stat_callback(isdn_ctrl *ic) |
693 | { struct call_struc *cs, *cs1; | 693 | { struct call_struc *cs, *cs1; |
694 | int i; | 694 | int i; |
695 | unsigned long flags; | 695 | unsigned long flags; |
@@ -781,7 +781,7 @@ int prot_stat_callback(isdn_ctrl *ic) | |||
781 | /***************************/ | 781 | /***************************/ |
782 | /* status callback from HL */ | 782 | /* status callback from HL */ |
783 | /***************************/ | 783 | /***************************/ |
784 | int isdn_divert_stat_callback(isdn_ctrl *ic) | 784 | static int isdn_divert_stat_callback(isdn_ctrl *ic) |
785 | { struct call_struc *cs, *cs1; | 785 | { struct call_struc *cs, *cs1; |
786 | unsigned long flags; | 786 | unsigned long flags; |
787 | int retval; | 787 | int retval; |