Date: Thu, 27 Apr 2017 18:21:38 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r317513 - stable/10/sys/kern Message-ID: <201704271821.v3RILcwn097578@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Thu Apr 27 18:21:38 2017 New Revision: 317513 URL: https://svnweb.freebsd.org/changeset/base/317513 Log: MFC r315237 (kib): Hide kev_iovlen() definition under #ifdef KTRACE Fixes build of kernel configs without KTRACE. Sponsored by: The FreeBSD Foundation Modified: stable/10/sys/kern/kern_event.c Modified: stable/10/sys/kern/kern_event.c ============================================================================== --- stable/10/sys/kern/kern_event.c Thu Apr 27 17:53:05 2017 (r317512) +++ stable/10/sys/kern/kern_event.c Thu Apr 27 18:21:38 2017 (r317513) @@ -825,6 +825,7 @@ done2: return (error); } +#ifdef KTRACE static size_t kev_iovlen(int n, u_int kgio) { @@ -833,6 +834,7 @@ kev_iovlen(int n, u_int kgio) return (kgio); return (n * sizeof(struct kevent)); } +#endif #ifndef _SYS_SYSPROTO_H_ struct kevent_args {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704271821.v3RILcwn097578>