netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Allan Stephens <allan.stephens@windriver.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, allan.stephens@windriver.com
Subject: [PATCH 3/7 net-2.6.26] [TIPC]: Eliminate "sparse" symbol warnings
Date: Thu,  6 Mar 2008 16:34:25 -0500	[thread overview]
Message-ID: <1204839269-30593-4-git-send-email-allan.stephens@windriver.com> (raw)
In-Reply-To: <1204839269-30593-1-git-send-email-allan.stephens@windriver.com>

This patch eliminates warnings about undeclared symbols.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
---
 include/net/tipc/tipc_bearer.h |    9 +++++++++
 net/tipc/core.c                |    8 --------
 net/tipc/core.h                |    6 ++++++
 3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/include/net/tipc/tipc_bearer.h b/include/net/tipc/tipc_bearer.h
index 2151a80..ee2f304 100644
--- a/include/net/tipc/tipc_bearer.h
+++ b/include/net/tipc/tipc_bearer.h
@@ -99,6 +99,9 @@ struct tipc_bearer {
 	char name[TIPC_MAX_BEARER_NAME];
 };
 
+/*
+ * TIPC routines available to supported media types
+ */
 
 int  tipc_register_media(u32 media_type,
 			 char *media_name, 
@@ -123,6 +126,12 @@ void tipc_continue(struct tipc_bearer *tb_ptr);
 int tipc_enable_bearer(const char *bearer_name, u32 bcast_scope, u32 priority);
 int tipc_disable_bearer(const char *name);
 
+/*
+ * Routines made available to TIPC by supported media types
+ */
+
+int  tipc_eth_media_start(void);
+void tipc_eth_media_stop(void);
 
 #endif
 
diff --git a/net/tipc/core.c b/net/tipc/core.c
index 9a5eb97..b41b0ac 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -48,14 +48,6 @@
 #include "subscr.h"
 #include "config.h"
 
-int  tipc_eth_media_start(void);
-void tipc_eth_media_stop(void);
-int  tipc_handler_start(void);
-void tipc_handler_stop(void);
-int  tipc_socket_init(void);
-void tipc_socket_stop(void);
-int  tipc_netlink_start(void);
-void tipc_netlink_stop(void);
 
 #define TIPC_MOD_VER "1.6.2"
 
diff --git a/net/tipc/core.h b/net/tipc/core.h
index feabca5..3fe9b70 100644
--- a/net/tipc/core.h
+++ b/net/tipc/core.h
@@ -180,6 +180,12 @@ extern int  tipc_core_start(void);
 extern void tipc_core_stop(void);
 extern int  tipc_core_start_net(void);
 extern void tipc_core_stop_net(void);
+extern int  tipc_handler_start(void);
+extern void tipc_handler_stop(void);
+extern int  tipc_netlink_start(void);
+extern void tipc_netlink_stop(void);
+extern int  tipc_socket_init(void);
+extern void tipc_socket_stop(void);
 
 static inline int delimit(int val, int min, int max)
 {
-- 
1.5.3.2


  parent reply	other threads:[~2008-03-06 21:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06 21:34 [PATCH 0/7 net-2.6.26] [TIPC]: Initial patch set for TIPC 1.6.3 Allan Stephens
2008-03-06 21:34 ` [PATCH 1/7 net-2.6.26] [TIPC]: Removal of message header option code Allan Stephens
2008-03-06 23:05   ` David Miller
2008-03-06 21:34 ` [PATCH 2/7 net-2.6.26] [TIPC]: Add argument validation for shutdown() Allan Stephens
2008-03-06 23:05   ` David Miller
2008-03-06 21:34 ` Allan Stephens [this message]
2008-03-06 23:06   ` [PATCH 3/7 net-2.6.26] [TIPC]: Eliminate "sparse" symbol warnings David Miller
2008-03-06 21:34 ` [PATCH 4/7 net-2.6.26] [TIPC]: Minor cleanup of message header code Allan Stephens
2008-03-06 23:07   ` David Miller
2008-03-06 21:34 ` [PATCH 5/7 net-2.6.26] [TIPC]: Use correct bitmask when setting version Allan Stephens
2008-03-06 23:07   ` David Miller
2008-03-06 21:34 ` [PATCH 6/7 net-2.6.26] [TIPC]: Enhancements to message header writing Allan Stephens
2008-03-06 23:08   ` David Miller
2008-03-06 21:34 ` [PATCH 7/7 net-2.6.26] [TIPC]: Update version to 1.6.3 Allan Stephens
2008-03-06 23:08 ` [PATCH 0/7 net-2.6.26] [TIPC]: Initial patch set for TIPC 1.6.3 David Miller
  -- strict thread matches above, loose matches on Subject: below --
2008-03-04 21:20 Allan Stephens
2008-03-04 21:20 ` [PATCH 3/7 net-2.6.26] [TIPC]: Eliminate "sparse" symbol warnings Allan Stephens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1204839269-30593-4-git-send-email-allan.stephens@windriver.com \
    --to=allan.stephens@windriver.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).