Discussion:
[ORLinux] [PATCH] OpenRISC: Make do_signal() non-static
Richard Weinberger
2012-05-19 11:19:07 UTC
Permalink
There is no need to export this function.

Signed-off-by: Richard Weinberger <richard at nod.at>
---
arch/openrisc/kernel/signal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/openrisc/kernel/signal.c b/arch/openrisc/kernel/signal.c
index 44749d4..f0446ec 100644
--- a/arch/openrisc/kernel/signal.c
+++ b/arch/openrisc/kernel/signal.c
@@ -284,7 +284,7 @@ handle_signal(unsigned long sig,
* mode below.
*/

-void do_signal(struct pt_regs *regs)
+static void do_signal(struct pt_regs *regs)
{
siginfo_t info;
int signr;
--
1.7.7.3
Richard Weinberger
2012-05-20 16:36:43 UTC
Permalink
Post by Richard Weinberger
There is no need to export this function.
s/non-static/static/ in the subject?
*grrr*, yes.

Thanks,
//richard
Christoph Hellwig
2012-05-20 16:18:39 UTC
Permalink
Post by Richard Weinberger
There is no need to export this function.
s/non-static/static/ in the subject?
Jonas Bonn
2012-05-25 13:25:25 UTC
Permalink
Thanks, applied.
/Jonas
Post by Richard Weinberger
There is no need to export this function.
Signed-off-by: Richard Weinberger <richard at nod.at>
---
arch/openrisc/kernel/signal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/openrisc/kernel/signal.c b/arch/openrisc/kernel/signal.c
index 44749d4..f0446ec 100644
--- a/arch/openrisc/kernel/signal.c
+++ b/arch/openrisc/kernel/signal.c
@@ -284,7 +284,7 @@ handle_signal(unsigned long sig,
* mode below.
*/
-void do_signal(struct pt_regs *regs)
+static void do_signal(struct pt_regs *regs)
{
siginfo_t info;
int signr;
Loading...