* [2.6 patch] drivers/net/amd8111e.c: make 2 functions static
@ 2005-02-17 15:01 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-02-17 15:01 UTC (permalink / raw)
To: jgarzik; +Cc: linux-net, linux-kernel
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/net/amd8111e.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.11-rc3-mm2-full/drivers/net/amd8111e.c.old 2005-02-16 15:14:01.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/drivers/net/amd8111e.c 2005-02-16 15:14:29.000000000 +0100
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-17 15:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-17 15:01 [2.6 patch] drivers/net/amd8111e.c: make 2 functions static Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.