Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2018 22:26:57 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r340165 - stable/11/sys/sys
Message-ID:  <201811052226.wA5MQvmF073875@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



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