sh: Fix declaration of __kernel_sigreturn and __kernel_rt_sigreturn
authorMatt Fleming <matt@console-pimps.org>
Thu, 18 Jun 2009 09:03:33 +0000 (10:03 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 18 Jun 2009 09:25:21 +0000 (18:25 +0900)
commit944557116908cbe835be41bfbd39d9706da9fd71
tree0e39069bd1bf34c7491ad7577840e99eca337089
parent99d921c2ff28c6396c5fa9a5360b3005bc6abba7
sh: Fix declaration of __kernel_sigreturn and __kernel_rt_sigreturn

GCC 4.5.0 complains about the declaration of variables
__kernel_sigreturn and __kernel_rt_sigreturn because they have type
void.  Correctly declare these symbols as functions to fix the
following error,

arch/sh/kernel/signal_32.c: In function 'setup_frame':
arch/sh/kernel/signal_32.c:368:14: error: taking address of expression of type 'void'
arch/sh/kernel/signal_32.c: In function 'setup_rt_frame':
arch/sh/kernel/signal_32.c:452:14: error: taking address of expression of type 'void'
make[1]: *** [arch/sh/kernel/signal_32.o] Error 1
make: *** [arch/sh/kernel] Error 2

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/signal_32.c