freebsd32: rename freebsd4_freebsd32_sigreturn arg

Rename struct freebsd4_freebsd32_ucontext to struct freebsd4_ucontext32
allowing conversion from the default ABI's struct freebsd4_ucontext
by appending "32".  This has no practical effect as this type does not
actually exist.

Give freebsd4_freebsd32_sigreturn an ANSI C prototype.

Reviewed by:	kevans
This commit is contained in:
Brooks Davis 2021-11-17 20:12:22 +00:00
parent 85d1d2a675
commit 5fdbd21d08
2 changed files with 2 additions and 2 deletions

View File

@ -1044,7 +1044,7 @@ struct freebsd4_freebsd32_sigaction_args {
char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
};
struct freebsd4_freebsd32_sigreturn_args {
char sigcntxp_l_[PADL_(const struct freebsd4_freebsd32_ucontext *)]; const struct freebsd4_freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd4_freebsd32_ucontext *)];
char sigcntxp_l_[PADL_(const struct freebsd4_ucontext32 *)]; const struct freebsd4_ucontext32 * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd4_ucontext32 *)];
};
#ifdef PAD64_REQUIRED
#else

View File

@ -625,7 +625,7 @@
struct sigaction32 *oact); }
343 AUE_SIGPENDING NOPROTO { int sigpending(sigset_t *set); }
344 AUE_SIGRETURN COMPAT4 { int freebsd32_sigreturn( \
const struct freebsd4_freebsd32_ucontext *sigcntxp); }
const struct freebsd4_ucontext32 *sigcntxp); }
345 AUE_SIGWAIT STD { int freebsd32_sigtimedwait(const sigset_t *set, \
struct siginfo32 *info, \
const struct timespec *timeout); }