From: Adrian Bunk Date: Wed, 6 Feb 2008 09:36:28 +0000 (-0800) Subject: make ipc/util.c:sysvipc_find_ipc() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b524b9adb3f655697fe6df9197b3ed6f14bc1729;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git make ipc/util.c:sysvipc_find_ipc() static sysvipc_find_ipc() can become static. Signed-off-by: Adrian Bunk Acked-by: Nadia Derbey Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/ipc/util.c b/ipc/util.c index 1aa0ebf71ba..76c1f3461e2 100644 --- a/ipc/util.c +++ b/ipc/util.c @@ -802,8 +802,8 @@ 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, - loff_t *new_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; int total, id;