提交 b524b9ad 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

make ipc/util.c:sysvipc_find_ipc() static

sysvipc_find_ipc() can become static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Acked-by: NNadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 33b5f31b
......@@ -802,7 +802,7 @@ struct ipc_proc_iter {
/*
* This routine locks the ipc structure found at least at position pos.
*/
struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos,
static struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos,
loff_t *new_pos)
{
struct kern_ipc_perm *ipc;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册