svn commit: r312758 - head/sys/sys
Ed Maste
emaste at FreeBSD.org
Wed Jan 25 15:42:30 UTC 2017
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_ */
More information about the svn-src-all
mailing list