diff options
author | Olaf Hering <olh@suse.de> | 2005-07-27 14:45:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:08 -0400 |
commit | 44456d37b59d8e541936ed26d8b6e08d27e88ac1 (patch) | |
tree | 11ca6fa29b8cfb56ecef2d1f4f9dc2d9d71d2a2f /drivers/isdn | |
parent | 02b775696fee75a04041d8d94db26a9462216d24 (diff) |
[PATCH] turn many #if $undefined_string into #ifdef $undefined_string
turn many #if $undefined_string into #ifdef $undefined_string to fix some
warnings after -Wno-def was added to global CFLAGS
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hisax/l3dss1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/hisax/l3dss1.c b/drivers/isdn/hisax/l3dss1.c index a6d2abdb478a..e96845cdd4f6 100644 --- a/drivers/isdn/hisax/l3dss1.c +++ b/drivers/isdn/hisax/l3dss1.c | |||
@@ -353,7 +353,7 @@ l3dss1_parse_facility(struct PStack *st, struct l3_process *pc, | |||
353 | { l3dss1_dummy_invoke(st, cr, id, ident, p, nlen); | 353 | { l3dss1_dummy_invoke(st, cr, id, ident, p, nlen); |
354 | return; | 354 | return; |
355 | } | 355 | } |
356 | #if HISAX_DE_AOC | 356 | #ifdef HISAX_DE_AOC |
357 | { | 357 | { |
358 | 358 | ||
359 | #define FOO1(s,a,b) \ | 359 | #define FOO1(s,a,b) \ |
@@ -977,7 +977,7 @@ l3dss1_release_cmpl(struct l3_process *pc, u_char pr, void *arg) | |||
977 | dss1_release_l3_process(pc); | 977 | dss1_release_l3_process(pc); |
978 | } | 978 | } |
979 | 979 | ||
980 | #if EXT_BEARER_CAPS | 980 | #ifdef EXT_BEARER_CAPS |
981 | 981 | ||
982 | static u_char * | 982 | static u_char * |
983 | EncodeASyncParams(u_char * p, u_char si2) | 983 | EncodeASyncParams(u_char * p, u_char si2) |
@@ -1369,7 +1369,7 @@ l3dss1_setup_req(struct l3_process *pc, u_char pr, | |||
1369 | *p++ = *sub++ & 0x7f; | 1369 | *p++ = *sub++ & 0x7f; |
1370 | } | 1370 | } |
1371 | } | 1371 | } |
1372 | #if EXT_BEARER_CAPS | 1372 | #ifdef EXT_BEARER_CAPS |
1373 | if ((pc->para.setup.si2 >= 160) && (pc->para.setup.si2 <= 175)) { // sync. Bitratenadaption, V.110/X.30 | 1373 | if ((pc->para.setup.si2 >= 160) && (pc->para.setup.si2 <= 175)) { // sync. Bitratenadaption, V.110/X.30 |
1374 | 1374 | ||
1375 | *p++ = IE_LLC; | 1375 | *p++ = IE_LLC; |
@@ -1609,7 +1609,7 @@ l3dss1_setup(struct l3_process *pc, u_char pr, void *arg) | |||
1609 | case 0x08: /* Unrestricted digital information */ | 1609 | case 0x08: /* Unrestricted digital information */ |
1610 | pc->para.setup.si1 = 7; | 1610 | pc->para.setup.si1 = 7; |
1611 | /* JIM, 05.11.97 I wanna set service indicator 2 */ | 1611 | /* JIM, 05.11.97 I wanna set service indicator 2 */ |
1612 | #if EXT_BEARER_CAPS | 1612 | #ifdef EXT_BEARER_CAPS |
1613 | pc->para.setup.si2 = DecodeSI2(skb); | 1613 | pc->para.setup.si2 = DecodeSI2(skb); |
1614 | #endif | 1614 | #endif |
1615 | break; | 1615 | break; |