diff options
author | Per Liden <per.liden@ericsson.com> | 2006-01-17 18:38:21 -0500 |
---|---|---|
committer | Per Liden <per.liden@ericsson.com> | 2006-01-17 18:45:16 -0500 |
commit | 4323add67792ced172d0d93b8b2e6187023115f1 (patch) | |
tree | 13224010f6f18029fb710a1e0b48392aea90b486 /net/tipc/socket.c | |
parent | 1e63e681e06d438fdc542d40924a4f155d461bbd (diff) |
[TIPC] Avoid polluting the global namespace
This patch adds a tipc_ prefix to all externally visible symbols.
Signed-off-by: Per Liden <per.liden@ericsson.com>
Diffstat (limited to 'net/tipc/socket.c')
-rw-r--r-- | net/tipc/socket.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 107f654db0ba..67253bfcd702 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -1183,7 +1183,7 @@ static u32 dispatch(struct tipc_port *tport, struct sk_buff *buf) | |||
1183 | if (unlikely(msg_errcode(msg) && (sock->state == SS_CONNECTED))) { | 1183 | if (unlikely(msg_errcode(msg) && (sock->state == SS_CONNECTED))) { |
1184 | sock->state = SS_DISCONNECTING; | 1184 | sock->state = SS_DISCONNECTING; |
1185 | /* Note: Use signal since port lock is already taken! */ | 1185 | /* Note: Use signal since port lock is already taken! */ |
1186 | k_signal((Handler)async_disconnect, tport->ref); | 1186 | tipc_k_signal((Handler)async_disconnect, tport->ref); |
1187 | } | 1187 | } |
1188 | 1188 | ||
1189 | /* Enqueue message (finally!) */ | 1189 | /* Enqueue message (finally!) */ |
@@ -1683,11 +1683,11 @@ static struct proto tipc_proto = { | |||
1683 | }; | 1683 | }; |
1684 | 1684 | ||
1685 | /** | 1685 | /** |
1686 | * socket_init - initialize TIPC socket interface | 1686 | * tipc_socket_init - initialize TIPC socket interface |
1687 | * | 1687 | * |
1688 | * Returns 0 on success, errno otherwise | 1688 | * Returns 0 on success, errno otherwise |
1689 | */ | 1689 | */ |
1690 | int socket_init(void) | 1690 | int tipc_socket_init(void) |
1691 | { | 1691 | { |
1692 | int res; | 1692 | int res; |
1693 | 1693 | ||
@@ -1710,9 +1710,9 @@ int socket_init(void) | |||
1710 | } | 1710 | } |
1711 | 1711 | ||
1712 | /** | 1712 | /** |
1713 | * sock_stop - stop TIPC socket interface | 1713 | * tipc_socket_stop - stop TIPC socket interface |
1714 | */ | 1714 | */ |
1715 | void socket_stop(void) | 1715 | void tipc_socket_stop(void) |
1716 | { | 1716 | { |
1717 | if (!sockets_enabled) | 1717 | if (!sockets_enabled) |
1718 | return; | 1718 | return; |