aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-06 04:36:28 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 13:41:01 -0500
commitb524b9adb3f655697fe6df9197b3ed6f14bc1729 (patch)
treecf0b14f91293a33ffee1afac39874450c3d96093 /ipc
parent33b5f31bbc4d047d048d8635fccdab38ffe6c287 (diff)
make ipc/util.c:sysvipc_find_ipc() static
sysvipc_find_ipc() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Nadia Derbey <Nadia.Derbey@bull.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/util.c b/ipc/util.c
index 1aa0ebf71bac..76c1f3461e22 100644
--- a/ipc/util.c
+++ b/ipc/util.c
@@ -802,8 +802,8 @@ struct ipc_proc_iter {
802/* 802/*
803 * This routine locks the ipc structure found at least at position pos. 803 * This routine locks the ipc structure found at least at position pos.
804 */ 804 */
805struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos, 805static struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos,
806 loff_t *new_pos) 806 loff_t *new_pos)
807{ 807{
808 struct kern_ipc_perm *ipc; 808 struct kern_ipc_perm *ipc;
809 int total, id; 809 int total, id;