Date: Sun, 11 Jul 2010 08:41:30 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r209894 - stable/8/sys/compat/freebsd32 Message-ID: <201007110841.o6B8fUqI025432@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sun Jul 11 08:41:30 2010 New Revision: 209894 URL: http://svn.freebsd.org/changeset/base/209894 Log: MFC r209687: Constify source argument for siginfo_to_siginfo32(). Modified: stable/8/sys/compat/freebsd32/freebsd32_misc.c stable/8/sys/compat/freebsd32/freebsd32_signal.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/compat/freebsd32/freebsd32_misc.c ============================================================================== --- stable/8/sys/compat/freebsd32/freebsd32_misc.c Sun Jul 11 05:13:38 2010 (r209893) +++ stable/8/sys/compat/freebsd32/freebsd32_misc.c Sun Jul 11 08:41:30 2010 (r209894) @@ -2208,7 +2208,7 @@ freebsd32_thr_suspend(struct thread *td, } 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; Modified: stable/8/sys/compat/freebsd32/freebsd32_signal.h ============================================================================== --- stable/8/sys/compat/freebsd32/freebsd32_signal.h Sun Jul 11 05:13:38 2010 (r209893) +++ stable/8/sys/compat/freebsd32/freebsd32_signal.h Sun Jul 11 08:41:30 2010 (r209894) @@ -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_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007110841.o6B8fUqI025432>