mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Constify source argument for siginfo_to_siginfo32().
MFC after: 1 week
This commit is contained in:
parent
e239bb9730
commit
67322a4cd2
2 changed files with 2 additions and 2 deletions
|
|
@ -2208,7 +2208,7 @@ freebsd32_thr_suspend(struct thread *td, struct freebsd32_thr_suspend_args *uap)
|
|||
}
|
||||
|
||||
void
|
||||
siginfo_to_siginfo32(siginfo_t *src, struct siginfo32 *dst)
|
||||
siginfo_to_siginfo32(const siginfo_t *src, struct siginfo32 *dst)
|
||||
{
|
||||
bzero(dst, sizeof(*dst));
|
||||
dst->si_signo = src->si_signo;
|
||||
|
|
|
|||
|
|
@ -96,6 +96,6 @@ struct sigevent32 {
|
|||
} _sigev_un;
|
||||
};
|
||||
|
||||
void siginfo_to_siginfo32(siginfo_t *src, struct siginfo32 *dst);
|
||||
void siginfo_to_siginfo32(const siginfo_t *src, struct siginfo32 *dst);
|
||||
|
||||
#endif /* !_COMPAT_FREEBSD32_SIGNAL_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue