tipc: cleanup function namespace
Do some cleanups of TIPC based on make namespacecheck 1. Don't export unused symbols 2. Eliminate dead code 3. Make functions and variables local 4. Rename buf_acquire to tipc_buf_acquire since it is used in several files Compile tested only. This make break out of tree kernel modules that depend on TIPC routines. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Jon Maloy <jon.maloy@ericsson.com> Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
15419227f7
commit
31e3c3f6f1
@@ -83,9 +83,7 @@
|
||||
* Note: TIPC_LOG is configured to echo its output to the system console;
|
||||
* user-defined buffers can be configured to do the same thing.
|
||||
*/
|
||||
|
||||
extern struct print_buf *const TIPC_NULL;
|
||||
extern struct print_buf *const TIPC_CONS;
|
||||
extern struct print_buf *const TIPC_LOG;
|
||||
|
||||
void tipc_printf(struct print_buf *, const char *fmt, ...);
|
||||
@@ -204,10 +202,7 @@ extern atomic_t tipc_user_count;
|
||||
* Routines available to privileged subsystems
|
||||
*/
|
||||
|
||||
extern int tipc_core_start(void);
|
||||
extern void tipc_core_stop(void);
|
||||
extern int tipc_core_start_net(unsigned long addr);
|
||||
extern void tipc_core_stop_net(void);
|
||||
extern int tipc_core_start_net(unsigned long);
|
||||
extern int tipc_handler_start(void);
|
||||
extern void tipc_handler_stop(void);
|
||||
extern int tipc_netlink_start(void);
|
||||
@@ -328,7 +323,7 @@ static inline struct tipc_msg *buf_msg(struct sk_buff *skb)
|
||||
return (struct tipc_msg *)skb->data;
|
||||
}
|
||||
|
||||
extern struct sk_buff *buf_acquire(u32 size);
|
||||
extern struct sk_buff *tipc_buf_acquire(u32 size);
|
||||
|
||||
/**
|
||||
* buf_discard - frees a TIPC message buffer
|
||||
|
Reference in New Issue
Block a user