[2.6 patch] ipc/sem.c: make free_un() static

From: Adrian Bunk
Date: Sun Aug 10 2008 - 17:52:19 EST


This patch makes the needlessly global free_un() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
4d674b52ad86936fcc96601fd37c04fb7343c0b8
diff --git a/ipc/sem.c b/ipc/sem.c
index bf1bc36..0821224 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -504,7 +504,7 @@ static int count_semzcnt (struct sem_array * sma, ushort semnum)
return semzcnt;
}

-void free_un(struct rcu_head *head)
+static void free_un(struct rcu_head *head)
{
struct sem_undo *un = container_of(head, struct sem_undo, rcu);
kfree(un);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/