Commit dc7eea67a151a79211b151e08b2397302594152c

Authored by aurel32
1 parent d088d664

linux-user: fix signal.c warning

This patch fixes:

linux-user/signal.c:1403: warning: no previous prototype for 'do_sigreturn_v1'
linux-user/signal.c:1473: warning: no previous prototype for 'do_sigreturn_v2'
linux-user/signal.c:1511: warning: no previous prototype for 'do_rt_sigreturn_v1'
linux-user/signal.c:1552: warning: no previous prototype for 'do_rt_sigreturn_v2'

by making the appropriate functions static.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6486 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 4 deletions
linux-user/signal.c
... ... @@ -1399,7 +1399,7 @@ restore_sigcontext(CPUState *env, struct target_sigcontext *sc)
1399 1399 return err;
1400 1400 }
1401 1401  
1402   -long do_sigreturn_v1(CPUState *env)
  1402 +static long do_sigreturn_v1(CPUState *env)
1403 1403 {
1404 1404 abi_ulong frame_addr;
1405 1405 struct sigframe_v1 *frame;
... ... @@ -1469,7 +1469,7 @@ static int do_sigframe_return_v2(CPUState *env, target_ulong frame_addr,
1469 1469 return 0;
1470 1470 }
1471 1471  
1472   -long do_sigreturn_v2(CPUState *env)
  1472 +static long do_sigreturn_v2(CPUState *env)
1473 1473 {
1474 1474 abi_ulong frame_addr;
1475 1475 struct sigframe_v2 *frame;
... ... @@ -1507,7 +1507,7 @@ long do_sigreturn(CPUState *env)
1507 1507 }
1508 1508 }
1509 1509  
1510   -long do_rt_sigreturn_v1(CPUState *env)
  1510 +static long do_rt_sigreturn_v1(CPUState *env)
1511 1511 {
1512 1512 abi_ulong frame_addr;
1513 1513 struct rt_sigframe_v1 *frame;
... ... @@ -1548,7 +1548,7 @@ badframe:
1548 1548 return 0;
1549 1549 }
1550 1550  
1551   -long do_rt_sigreturn_v2(CPUState *env)
  1551 +static long do_rt_sigreturn_v2(CPUState *env)
1552 1552 {
1553 1553 abi_ulong frame_addr;
1554 1554 struct rt_sigframe_v2 *frame;
... ...