Skip to contentSkip to conversation

proper prototype for x25_init_timers()

PATCH Applied Adrian Bunk 2 participants 2 messages Jan 3, 2007 – Jan 4, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proper prototype for x25_init_timers()

This patch adds a proper prototype for x25_init_timers() in include/net/x25.h

---

 include/net/x25.h |    1 +
 net/x25/af_x25.c  |    2 --
 2 files changed, 1 insertion(+), 2 deletions(-)
include/net/x25.h renamed from include/net/x25.h.old +1 -0
@@ -259,6 +259,7 @@
 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 *);
net/x25/af_x25.c renamed from net/x25/af_x25.c.old +0 -2
@@ -484,8 +484,6 @@
 	return sk;
 }
 
-void x25_init_timers(struct sock *sk);
-
 static int x25_create(struct socket *sock, int protocol)
 {
 	struct sock *sk;