diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-08-25 01:38:26 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-08-26 21:35:39 -0400 |
commit | 97a1ad431b89765755d2b5aa8c0777ed637d5c4a (patch) | |
tree | 4807bce0c75dbb6a4a21270f20589ff4c77f956d /drivers | |
parent | 37d2e7316007b4583e5783c608efdd3b2284b74d (diff) |
[SLIP]: trivial sparse warning fix
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/slip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/slip.c b/drivers/net/slip.c index 65bd20fac820..3fd4735006f5 100644 --- a/drivers/net/slip.c +++ b/drivers/net/slip.c | |||
@@ -957,7 +957,7 @@ slip_close(struct tty_struct *tty) | |||
957 | * STANDARD SLIP ENCAPSULATION * | 957 | * STANDARD SLIP ENCAPSULATION * |
958 | ************************************************************************/ | 958 | ************************************************************************/ |
959 | 959 | ||
960 | int | 960 | static int |
961 | slip_esc(unsigned char *s, unsigned char *d, int len) | 961 | slip_esc(unsigned char *s, unsigned char *d, int len) |
962 | { | 962 | { |
963 | unsigned char *ptr = d; | 963 | unsigned char *ptr = d; |