rds: make local functions/variables static

The RDS protocol has lots of functions that should be
declared static. rds_message_get/add_version_extension is
removed since it defined but never used.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
stephen hemminger
2010-10-19 08:08:33 +00:00
提交者 David S. Miller
父节点 d0c2b0d265
当前提交 ff51bf8415
修改 20 个文件,包含 29 行新增64 行删除

查看文件

@@ -207,7 +207,7 @@ static void rds_rdma_listen_stop(void)
}
}
int rds_rdma_init(void)
static int rds_rdma_init(void)
{
int ret;
@@ -234,7 +234,7 @@ out:
}
module_init(rds_rdma_init);
void rds_rdma_exit(void)
static void rds_rdma_exit(void)
{
/* stop listening first to ensure no new connections are attempted */
rds_rdma_listen_stop();