public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][ATM] prevent compiler warning when compiling w/o bridging
@ 2003-02-24  1:28 chas williams
  2003-02-24  6:20 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: chas williams @ 2003-02-24  1:28 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel


Index: linux/net/atm/lec.c
===================================================================
RCS file: /home/chas/CVSROOT/linux/net/atm/lec.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -b -w -r1.2 -r1.3
--- linux/net/atm/lec.c	22 Feb 2003 17:35:45 -0000	1.2
+++ linux/net/atm/lec.c	22 Feb 2003 17:38:23 -0000	1.3
@@ -36,6 +36,10 @@
 #include <linux/if_bridge.h>
 #include "../bridge/br_private.h"
 static unsigned char bridge_ula_lec[] = {0x01, 0x80, 0xc2, 0x00, 0x00};
+
+extern struct net_bridge_fdb_entry *(*br_fdb_get_hook)(struct net_bridge *br,
+       unsigned char *addr);
+extern void (*br_fdb_put_hook)(struct net_bridge_fdb_entry *ent);
 #endif
 
 /* Modular too */
@@ -51,10 +55,6 @@
 #else
 #define DPRINTK(format,args...)
 #endif
-
-extern struct net_bridge_fdb_entry *(*br_fdb_get_hook)(struct net_bridge *br,
-       unsigned char *addr);
-extern void (*br_fdb_put_hook)(struct net_bridge_fdb_entry *ent);
 
 static spinlock_t lec_arp_spinlock = SPIN_LOCK_UNLOCKED;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][ATM] prevent compiler warning when compiling w/o bridging
  2003-02-24  1:28 [PATCH][ATM] prevent compiler warning when compiling w/o bridging chas williams
@ 2003-02-24  6:20 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-02-24  6:20 UTC (permalink / raw)
  To: chas; +Cc: linux-kernel

   From: chas williams <chas@locutus.cmf.nrl.navy.mil>
   Date: Sun, 23 Feb 2003 20:28:42 -0500

   
   Index: linux/net/atm/lec.c

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-24  6:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24  1:28 [PATCH][ATM] prevent compiler warning when compiling w/o bridging chas williams
2003-02-24  6:20 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox