DORMANTno replies

[PATCH 1/5] 2.4.27-pre3 pcnet32 add static to two routines.

From: Don Fry <hidden>
Date: 2004-05-21 20:56:43

This patch adds 'static' to two routines.  The prototype has static but
the instantiation did not.
--- linux-2.4.27-pre3/drivers/net/orig.pcnet32.c	Fri May 21 12:34:04 2004
+++ linux-2.4.27-pre3/drivers/net/pcnet32.c	Fri May 21 12:36:44 2004
@@ -844,12 +844,12 @@
     return 0;
 }
 
-int pcnet32_get_regs_len(struct net_device *dev)
+static int pcnet32_get_regs_len(struct net_device *dev)
 {
     return(PCNET32_NUM_REGS * sizeof(u16));
 }
 
-void pcnet32_get_regs(struct net_device *dev, struct ethtool_regs *regs,
+static void pcnet32_get_regs(struct net_device *dev, struct ethtool_regs *regs,
 	void *ptr)
 {
     int i, csr0;
-- 
Don Fry
brazilnut@us.ibm.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help