Constify source argument for siginfo_to_siginfo32().

MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2010-07-04 11:43:53 +00:00
parent e239bb9730
commit 67322a4cd2
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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_ */