mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Fix some warnings that would be generated by gcc -Wmissing-prototypes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5022 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a5f1b965da
commit
8fcd36920e
11 changed files with 61 additions and 67 deletions
|
@ -154,7 +154,8 @@ void host_to_target_sigset(target_sigset_t *d, const sigset_t *s)
|
|||
d->sig[i] = tswapl(d1.sig[i]);
|
||||
}
|
||||
|
||||
void target_to_host_sigset_internal(sigset_t *d, const target_sigset_t *s)
|
||||
static void target_to_host_sigset_internal(sigset_t *d,
|
||||
const target_sigset_t *s)
|
||||
{
|
||||
int i;
|
||||
sigemptyset(d);
|
||||
|
@ -324,7 +325,7 @@ static inline void free_sigqueue(CPUState *env, struct sigqueue *q)
|
|||
}
|
||||
|
||||
/* abort execution with signal */
|
||||
void __attribute((noreturn)) force_sig(int sig)
|
||||
static void __attribute((noreturn)) force_sig(int sig)
|
||||
{
|
||||
int host_sig;
|
||||
host_sig = target_to_host_signal(sig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue