This patch eliminates warnings about a pair of undeclared symbols.

Signed-off-by: Allan Stephens <[EMAIL PROTECTED]>
---
 net/tipc/socket.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/net/tipc/socket.c b/net/tipc/socket.c
index e5a6983..356a18c 100644
--- a/net/tipc/socket.c
+++ b/net/tipc/socket.c
@@ -81,6 +81,12 @@ static int sockets_enabled = 0;
 
 static atomic_t tipc_queue_size = ATOMIC_INIT(0);
 
+/*
+ * Declare public routines so "sparse" doesn't complain ...
+ */
+
+extern int  tipc_socket_init(void);
+extern void tipc_socket_stop(void);
 
 /*
  * sock_lock(): Lock a port/socket pair. lock_sock() can
-- 
1.5.3.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to