[PATCH 2/3] compilation fixes for gcc 4.0
From: Grzegorz Piotr Jaskiewicz
Date:  Wed Sep 22 2004 - 14:25:41 EST
Signed-off-by: Grzegorz Jaskiewicz <gj at pointblue.com.pl>
--- drivers/net/3c507.old.c     2004-09-22 21:14:51 +0200
+++ drivers/net/3c507.c 2004-09-22 21:15:29 +0200
@@ -294,6 +294,7 @@
static void hardware_send_packet(struct net_device *dev, void *buf, 
short length, short pad);
static void init_82586_mem(struct net_device *dev);
static struct ethtool_ops netdev_ethtool_ops;
+static void init_rx_bufs(struct net_device *);
static int io = 0x300;
static int irq;
@@ -612,7 +613,6 @@
       }
       if ((status & 0x0070) != 0x0040 && netif_running(dev)) {
-               static void init_rx_bufs(struct net_device *);
               /* The Rx unit is not ready, it must be hung.  Restart 
the receiver by
                  initializing the rx buffers, and issuing an Rx start 
command. */
               if (net_debug)
--
GJ
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/