gcc4 doesn't allow declaring a static function inside another function,
so convert to extern.  (The function whose prototype we're changing is
not defined anywhere and intended purely to cause a link error when some
internal calculations go awry.)

Signed-off-by: Lennert Buytenhek <[EMAIL PROTECTED]>

Index: linux-2.6.16/drivers/net/ixp2000/ixpdev.c
===================================================================
--- linux-2.6.16.orig/drivers/net/ixp2000/ixpdev.c
+++ linux-2.6.16/drivers/net/ixp2000/ixpdev.c
@@ -300,7 +300,7 @@ int ixpdev_init(int __nds_count, struct 
        int err;
 
        if (RX_BUF_COUNT > 192 || TX_BUF_COUNT > 192) {
-               static void __too_many_rx_or_tx_buffers(void);
+               extern void __too_many_rx_or_tx_buffers(void);
                __too_many_rx_or_tx_buffers();
        }
 
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to