Skip to contentSkip to conversation

[2.6 patch i386 traps.c: make a function static

PATCH Adrian Bunk 1 participant 1 message Dec 12, 2004

lore
Share & tools
lore
#0 lore raw

The patch below makes a needlessly global function static.

arch/i386/kernel/traps.c renamed from arch/i386/kernel/traps.c.old +1 -1
@@ -898,7 +898,7 @@
 	math_error((void __user *)regs->eip);
 }
 
-void simd_math_error(void __user *eip)
+static void simd_math_error(void __user *eip)
 {
 	struct task_struct * task;
 	siginfo_t info;