public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make ipc/util.c:sysvipc_find_ipc() static
@ 2007-10-24 16:23 Adrian Bunk
  2007-10-25  8:29 ` Nadia Derbey
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-10-24 16:23 UTC (permalink / raw)
  To: Nadia Derbey; +Cc: linux-kernel

sysvipc_find_ipc() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
daadf1bd4c81e8b88cfc690cecace9adc8b783f0 
diff --git a/ipc/util.c b/ipc/util.c
index 1aa0ebf..76c1f34 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;


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] make ipc/util.c:sysvipc_find_ipc() static
  2007-10-24 16:23 [2.6 patch] make ipc/util.c:sysvipc_find_ipc() static Adrian Bunk
@ 2007-10-25  8:29 ` Nadia Derbey
  0 siblings, 0 replies; 2+ messages in thread
From: Nadia Derbey @ 2007-10-25  8:29 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

Adrian Bunk wrote:
> sysvipc_find_ipc() can become static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ---
> daadf1bd4c81e8b88cfc690cecace9adc8b783f0 
> diff --git a/ipc/util.c b/ipc/util.c
> index 1aa0ebf..76c1f34 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;
> 
> 

Acked-by: Nadia Derbey <Nadia.Derbey@bull.net>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-25  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:23 [2.6 patch] make ipc/util.c:sysvipc_find_ipc() static Adrian Bunk
2007-10-25  8:29 ` Nadia Derbey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox