sparc64: fix sparse "Should it be static?" warnings in signal32.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:26:00 +0000 (23:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:32 +0000 (19:01 -0700)
commitabaff455f750594984030ec878537b7c1e39ffc6
treea13c6083cea6551ecbc333be11c0c480cfb180ea
parented8eb7551006dd02c14438eb374b302a39b3e92e
sparc64: fix sparse "Should it be static?" warnings in signal32.c

Fix following warnings:
signal32.c:140:6: warning: symbol 'do_sigreturn32' was not declared. Should it be static?
signal32.c:230:17: warning: symbol 'do_rt_sigreturn32' was not declared. Should it be static?
signal32.c:729:6: warning: symbol 'do_signal32' was not declared. Should it be static?
signal32.c:773:16: warning: symbol 'do_sys32_sigstack' was not declared. Should it be static?

Add proper prototypes and drop local prototype

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/kernel.h
arch/sparc/kernel/signal32.c
arch/sparc/kernel/signal_64.c