projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37d2e73
)
[SLIP]: trivial sparse warning fix
author
Stephen Hemminger
<shemminger@linux-foundation.org>
Sat, 25 Aug 2007 05:38:26 +0000
(22:38 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/slip.c
b/drivers/net/slip.c
index 65bd20fac8209fa7cf9d6e2973593d3a9fcaeace..3fd4735006f558f206135fb7a5546af0f3a8411f 100644
(file)
--- a/
drivers/net/slip.c
+++ b/
drivers/net/slip.c
@@
-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;