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_ */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to