提交 7f18ba62 编写于 作者: A Adrian Bunk 提交者: David S. Miller

[X25]: proper prototype for x25_init_timers()

This patch adds a proper prototype for x25_init_timers() in 
include/net/x25.h
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 5e7c001c
...@@ -259,6 +259,7 @@ extern int x25_decode(struct sock *, struct sk_buff *, int *, int *, int *, int ...@@ -259,6 +259,7 @@ extern int x25_decode(struct sock *, struct sk_buff *, int *, int *, int *, int
extern void x25_disconnect(struct sock *, int, unsigned char, unsigned char); extern void x25_disconnect(struct sock *, int, unsigned char, unsigned char);
/* x25_timer.c */ /* x25_timer.c */
extern void x25_init_timers(struct sock *sk);
extern void x25_start_heartbeat(struct sock *); extern void x25_start_heartbeat(struct sock *);
extern void x25_start_t2timer(struct sock *); extern void x25_start_t2timer(struct sock *);
extern void x25_start_t21timer(struct sock *); extern void x25_start_t21timer(struct sock *);
......
...@@ -484,8 +484,6 @@ static struct sock *x25_alloc_socket(void) ...@@ -484,8 +484,6 @@ static struct sock *x25_alloc_socket(void)
return sk; return sk;
} }
void x25_init_timers(struct sock *sk);
static int x25_create(struct socket *sock, int protocol) static int x25_create(struct socket *sock, int protocol)
{ {
struct sock *sk; struct sock *sk;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册