linux-mips
[Top] [All Lists]

[PATCH 2/4] [MIPS] ip32: ip32_be_handler symbol is needlessly defined gl

To: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: [PATCH 2/4] [MIPS] ip32: ip32_be_handler symbol is needlessly defined global
From: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Date: Mon, 30 Mar 2009 22:53:24 +0300
Cc: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
In-reply-to: <1238442806-11013-1-git-send-email-dmitri.vorobiev@movial.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1238442806-11013-1-git-send-email-dmitri.vorobiev@movial.com>
Sender: linux-mips-bounce@linux-mips.org
The file arch/mips/sgi-ip32/ip32-berr.c needlessly defines the function
ip32_be_handler() as global, and this patch makes it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
---
 arch/mips/sgi-ip32/ip32-berr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/sgi-ip32/ip32-berr.c b/arch/mips/sgi-ip32/ip32-berr.c
index a278e91..afc1cad 100644
--- a/arch/mips/sgi-ip32/ip32-berr.c
+++ b/arch/mips/sgi-ip32/ip32-berr.c
@@ -16,7 +16,7 @@
 #include <asm/ptrace.h>
 #include <asm/tlbdebug.h>
 
-int ip32_be_handler(struct pt_regs *regs, int is_fixup)
+static int ip32_be_handler(struct pt_regs *regs, int is_fixup)
 {
        int data = regs->cp0_cause & 4;
 
-- 
1.5.6.3


<Prev in Thread] Current Thread [Next in Thread>