Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hannes Eder and committed by
David S. Miller
7b3dfa11 d157e023

+1 -1
+1 -1
drivers/net/wan/x25_asy.c
··· 620 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 625 unsigned char *ptr = d; 626 626 unsigned char c;