* [PATCH 1/5] 2.6.6-bk8 pcnet32 add static to two routines.
@ 2004-05-21 20:27 Don Fry
2004-05-21 22:33 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Don Fry @ 2004-05-21 20:27 UTC (permalink / raw)
To: tsbogend, jgarzik, netdev
This patch adds 'static' to two routines. The prototype has static but
the instantiation did not.
--- linux-2.6.6-bk8/drivers/net/orig.pcnet32.c Fri May 21 09:48:29 2004
+++ linux-2.6.6-bk8/drivers/net/pcnet32.c Fri May 21 09:56:41 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-21 22:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-21 20:27 [PATCH 1/5] 2.6.6-bk8 pcnet32 add static to two routines Don Fry
2004-05-21 22:33 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).