Skip to contentSkip to conversation

drivers/net/amd8111e.c: make 2 functions static

PATCH New Adrian Bunk 1 participant 1 message Feb 17, 2005 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/amd8111e.c: make 2 functions static

This patch makes two needlessly global functions static.

---

 drivers/net/amd8111e.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/amd8111e.c renamed from drivers/net/amd8111e.c.old +2 -2
@@ -1487,7 +1487,7 @@
 amd8111e crc generator implementation is different from the kernel
 ether_crc() function.
 */
-int amd8111e_ether_crc(int len, char* mac_addr)
+static int amd8111e_ether_crc(int len, char* mac_addr)
 {
 	int i,byte;
 	unsigned char octet;
@@ -1715,7 +1715,7 @@
 /* 
 This function changes the mtu of the device. It restarts the device  to initialize the descriptor with new receive buffers.
 */  
-int amd8111e_change_mtu(struct net_device *dev, int new_mtu)
+static int amd8111e_change_mtu(struct net_device *dev, int new_mtu)
 {
 	struct amd8111e_priv *lp = netdev_priv(dev);
 	int err;