diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 03:11:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 03:11:21 -0500 |
commit | 7b3dfa11cdef38bda07b99991f2f88c86df67ed2 (patch) | |
tree | 7b33e95e735baeb1601b9b96879b1d52d2e128af | |
parent | d157e0230f205f5dd646c4e0985030367de7aa4c (diff) |
drivers/net/wan: fix sparse warning: make symbol static
Fix this sparse warning:
drivers/net/wan/x25_asy.c:623:5: warning: symbol 'x25_asy_esc' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wan/x25_asy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c index 472bd0e6dd9d..e6e2ce3e7bcf 100644 --- a/drivers/net/wan/x25_asy.c +++ b/drivers/net/wan/x25_asy.c | |||
@@ -620,7 +620,7 @@ static struct net_device_stats *x25_asy_get_stats(struct net_device *dev) | |||
620 | * STANDARD X.25 ENCAPSULATION * | 620 | * STANDARD X.25 ENCAPSULATION * |
621 | ************************************************************************/ | 621 | ************************************************************************/ |
622 | 622 | ||
623 | int x25_asy_esc(unsigned char *s, unsigned char *d, int len) | 623 | static int x25_asy_esc(unsigned char *s, unsigned char *d, int len) |
624 | { | 624 | { |
625 | unsigned char *ptr = d; | 625 | unsigned char *ptr = d; |
626 | unsigned char c; | 626 | unsigned char c; |