Author: emaste
Date: Mon Nov  5 22:26:57 2018
New Revision: 340165
URL: https://svnweb.freebsd.org/changeset/base/340165

Log:
  MFC r312758: 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.
  
  Reported by:  antoine
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/11/sys/sys/capability.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/sys/capability.h
==============================================================================
--- stable/11/sys/sys/capability.h      Mon Nov  5 21:34:17 2018        
(r340164)
+++ stable/11/sys/sys/capability.h      Mon Nov  5 22:26:57 2018        
(r340165)
@@ -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-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to