Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2017 15:42:29 +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: r312758 - head/sys/sys
Message-ID:  <201701251542.v0PFgTLx075300@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Jan 25 15:42:29 2017
New Revision: 312758
URL: https://svnweb.freebsd.org/changeset/base/312758

Log:
  Add sys/capability.h deprecation warning
  
  In r263232 sys/capability.h was renamed to sys/capsicum.h, to avoid
  conflicts with a capability.h header found on other operating systems.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/sys/capability.h

Modified: head/sys/sys/capability.h
==============================================================================
--- head/sys/sys/capability.h	Wed Jan 25 15:27:05 2017	(r312757)
+++ head/sys/sys/capability.h	Wed Jan 25 15:42:29 2017	(r312758)
@@ -38,6 +38,7 @@
 #ifndef _SYS_CAPABILITY_H_
 #define	_SYS_CAPABILITY_H_
 
+#warning this file includes <sys/capability.h> which is deprecated
 #include <sys/capsicum.h>
 
 #endif /* !_SYS_CAPABILITY_H_ */



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