mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
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>
This commit is contained in:
parent
d157e0230f
commit
7b3dfa11cd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue