OpenVZ Forum

Home » Mailing lists » Devel » [PATCH] Remove unneeded extern declaration from kernel/exit.c
[PATCH] Remove unneeded extern declaration from kernel/exit.c [message #24115] Sat, 01 December 2007 10:39
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
The declared extern void sem_exit(void) function does 
not even exist in the kernel.

Signed-off-by: Pavel Emelyanov <>


diff --git a/kernel/exit.c b/kernel/exit.c
index 549c055..a2213c3 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -50,8 +50,6 @@
 #include <asm/pgtable.h>
 #include <asm/mmu_context.h>
-extern void sem_exit (void);
 static void exit_mm(struct task_struct * tsk);
 static void __unhash_process(struct task_struct *p)
Previous Topic: Revert for cgroups CPU accounting subsystem patch
Next Topic: [PATCH] remove extra memset from dn_fib_check_nh
Goto Forum:

Current Time: Fri Sep 29 17:40:29 GMT 2023

Total time taken to generate the page: 0.03267 seconds