Skip to content

Commit

Permalink
[SLIP]: trivial sparse warning fix
Browse files Browse the repository at this point in the history
Function declared static in forward declaration, but not in actual code.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Aug 27, 2007
1 parent 37d2e73 commit 97a1ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/slip.c
Expand Up @@ -957,7 +957,7 @@ slip_close(struct tty_struct *tty)
* STANDARD SLIP ENCAPSULATION *
************************************************************************/

int
static int
slip_esc(unsigned char *s, unsigned char *d, int len)
{
unsigned char *ptr = d;
Expand Down

0 comments on commit 97a1ad4

Please sign in to comment.