Skip to content

Commit

Permalink
[X25]: proper prototype for x25_init_timers()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jan 4, 2007
1 parent 5e7c001 commit 7f18ba6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions include/net/x25.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/* x25_timer.c */
extern void x25_init_timers(struct sock *sk);
extern void x25_start_heartbeat(struct sock *);
extern void x25_start_t2timer(struct sock *);
extern void x25_start_t21timer(struct sock *);
Expand Down
2 changes: 0 additions & 2 deletions net/x25/af_x25.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,6 @@ static struct sock *x25_alloc_socket(void)
return sk;
}

void x25_init_timers(struct sock *sk);

static int x25_create(struct socket *sock, int protocol)
{
struct sock *sk;
Expand Down

0 comments on commit 7f18ba6

Please sign in to comment.