[2.6 patch] proper prototype for x25_init_timers()

From: Adrian Bunk
Date: Wed Jan 03 2007 - 20:09:41 EST


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

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

include/net/x25.h | 1 +
net/x25/af_x25.c | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.20-rc2-mm1/include/net/x25.h.old 2007-01-03 22:57:52.000000000 +0100
+++ linux-2.6.20-rc2-mm1/include/net/x25.h 2007-01-03 22:58:17.000000000 +0100
@@ -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 *);
--- linux-2.6.20-rc2-mm1/net/x25/af_x25.c.old 2007-01-03 22:58:28.000000000 +0100
+++ linux-2.6.20-rc2-mm1/net/x25/af_x25.c 2007-01-03 22:58:35.000000000 +0100
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/