提交 97a1ad43 编写于 作者: S Stephen Hemminger 提交者: David S. Miller

[SLIP]: trivial sparse warning fix

Function declared static in forward declaration, but not in actual code.
Signed-off-by: NStephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 37d2e731
...@@ -957,7 +957,7 @@ slip_close(struct tty_struct *tty) ...@@ -957,7 +957,7 @@ slip_close(struct tty_struct *tty)
* STANDARD SLIP ENCAPSULATION * * STANDARD SLIP ENCAPSULATION *
************************************************************************/ ************************************************************************/
int static int
slip_esc(unsigned char *s, unsigned char *d, int len) slip_esc(unsigned char *s, unsigned char *d, int len)
{ {
unsigned char *ptr = d; unsigned char *ptr = d;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册