drivers/net/wan: fix sparse warning: make symbol static
authorHannes Eder <hannes@hanneseder.net>
Fri, 26 Dec 2008 08:11:21 +0000 (00:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 08:11:21 +0000 (00:11 -0800)
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>
drivers/net/wan/x25_asy.c

index 472bd0e6dd9d48a5a22db8ce9efc87968f506fb1..e6e2ce3e7bcf6a1b15d8b9f3cc79ccf1f2ba57f4 100644 (file)
@@ -620,7 +620,7 @@ static struct net_device_stats *x25_asy_get_stats(struct net_device *dev)
   *                    STANDARD X.25 ENCAPSULATION                      *
   ************************************************************************/
 
-int x25_asy_esc(unsigned char *s, unsigned char *d, int len)
+static int x25_asy_esc(unsigned char *s, unsigned char *d, int len)
 {
        unsigned char *ptr = d;
        unsigned char c;