Skip to contentSkip to conversation

i386/x86_64 i8259.c: make mask_and_ack_8259A static

PATCH New Adrian Bunk 1 participant 1 message Jan 16, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386/x86_64 i8259.c: make mask_and_ack_8259A static

The patch below makes a needlessly global function static.

diffstat output:

 arch/i386/kernel/i8259.c   |    4 ++--
 arch/x86_64/kernel/i8259.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/i386/kernel/i8259.c renamed from arch/i386/kernel/i8259.c.old +2 -2
@@ -50,7 +50,7 @@
 
 #define shutdown_8259A_irq	disable_8259A_irq
 
-void mask_and_ack_8259A(unsigned int);
+static void mask_and_ack_8259A(unsigned int);
 
 unsigned int startup_8259A_irq(unsigned int irq)
 { 
@@ -170,7 +170,7 @@
  * first, _then_ send the EOI, and the order of EOI
  * to the two 8259s is important!
  */
-void mask_and_ack_8259A(unsigned int irq)
+static void mask_and_ack_8259A(unsigned int irq)
 {
 	unsigned int irqmask = 1 << irq;
 	unsigned long flags;
arch/x86_64/kernel/i8259.c renamed from arch/x86_64/kernel/i8259.c.old +2 -2
@@ -149,7 +149,7 @@
 
 #define shutdown_8259A_irq	disable_8259A_irq
 
-void mask_and_ack_8259A(unsigned int);
+static void mask_and_ack_8259A(unsigned int);
 
 static unsigned int startup_8259A_irq(unsigned int irq)
 { 
@@ -273,7 +273,7 @@
  * first, _then_ send the EOI, and the order of EOI
  * to the two 8259s is important!
  */
-void mask_and_ack_8259A(unsigned int irq)
+static void mask_and_ack_8259A(unsigned int irq)
 {
 	unsigned int irqmask = 1 << irq;
 	unsigned long flags;