Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f18ba62 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5e7c001c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 *);
+0 −2
Original line number Diff line number Diff line
@@ -484,8 +484,6 @@ out:
	return sk;
}

void x25_init_timers(struct sock *sk);

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