diff options
| author | Adrian Bunk <bunk@stusta.de> | 2007-01-03 21:48:13 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2007-01-03 21:48:13 -0500 |
| commit | 7f18ba6248625a587559ed1206d12ccaa3ad045e (patch) | |
| tree | 4f48a5a6e167d5da2fe9a58dff76b443a99f64f6 | |
| parent | 5e7c001c6279f38b15fef5369496fe1043765727 (diff) | |
[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: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | include/net/x25.h | 1 | ||||
| -rw-r--r-- | net/x25/af_x25.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/net/x25.h b/include/net/x25.h index 0ad90ebcf86e..e47fe440d9d7 100644 --- a/include/net/x25.h +++ b/include/net/x25.h | |||
| @@ -259,6 +259,7 @@ extern int x25_decode(struct sock *, struct sk_buff *, int *, int *, int *, int | |||
| 259 | extern void x25_disconnect(struct sock *, int, unsigned char, unsigned char); | 259 | extern void x25_disconnect(struct sock *, int, unsigned char, unsigned char); |
| 260 | 260 | ||
| 261 | /* x25_timer.c */ | 261 | /* x25_timer.c */ |
| 262 | extern void x25_init_timers(struct sock *sk); | ||
| 262 | extern void x25_start_heartbeat(struct sock *); | 263 | extern void x25_start_heartbeat(struct sock *); |
| 263 | extern void x25_start_t2timer(struct sock *); | 264 | extern void x25_start_t2timer(struct sock *); |
| 264 | extern void x25_start_t21timer(struct sock *); | 265 | extern void x25_start_t21timer(struct sock *); |
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index 52a2726d327f..b5c80b189902 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c | |||
| @@ -484,8 +484,6 @@ out: | |||
| 484 | return sk; | 484 | return sk; |
| 485 | } | 485 | } |
| 486 | 486 | ||
| 487 | void x25_init_timers(struct sock *sk); | ||
| 488 | |||
| 489 | static int x25_create(struct socket *sock, int protocol) | 487 | static int x25_create(struct socket *sock, int protocol) |
| 490 | { | 488 | { |
| 491 | struct sock *sk; | 489 | struct sock *sk; |
