Skip to contentSkip to conversation

ipc/sem.c: make free_un() static

PATCH New Adrian Bunk 1 participant 1 message Aug 10, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipc/sem.c: make free_un() static

This patch makes the needlessly global free_un() static.

---
4d674b52ad86936fcc96601fd37c04fb7343c0b8

ipc/sem.c +1 -1
index bf1bc36..0821224 100644
@@ -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);