]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
[SLIP]: trivial sparse warning fix
authorStephen Hemminger <shemminger@linux-foundation.org>
Sat, 25 Aug 2007 05:38:26 +0000 (22:38 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 27 Aug 2007 01:35:39 +0000 (18:35 -0700)
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>
drivers/net/slip.c

index 65bd20fac8209fa7cf9d6e2973593d3a9fcaeace..3fd4735006f558f206135fb7a5546af0f3a8411f 100644 (file)
@@ -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;