Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2016 12:56:03 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r306022 - head/sys/dev/hwpmc
Message-ID:  <201609201256.u8KCu3p4006465@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Sep 20 12:56:03 2016
New Revision: 306022
URL: https://svnweb.freebsd.org/changeset/base/306022

Log:
  hwpmc: remove sys/capability.h backwards compatibility
  
  The Capsicum header is installed as sys/capsicum.h in stable/10 as well.

Modified:
  head/sys/dev/hwpmc/hwpmc_logging.c

Modified: head/sys/dev/hwpmc/hwpmc_logging.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_logging.c	Tue Sep 20 11:11:06 2016	(r306021)
+++ head/sys/dev/hwpmc/hwpmc_logging.c	Tue Sep 20 12:56:03 2016	(r306022)
@@ -37,11 +37,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
-#if (__FreeBSD_version >= 1100000)
 #include <sys/capsicum.h>
-#else
-#include <sys/capability.h>
-#endif
 #include <sys/file.h>
 #include <sys/kernel.h>
 #include <sys/kthread.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609201256.u8KCu3p4006465>