From e129454c036f4dc47fba69512139874678c1ffe0 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 23 Aug 1999 21:51:21 +0000 Subject: [PATCH] Complain if this file is included. --- sys/sys/devfsext.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sys/sys/devfsext.h b/sys/sys/devfsext.h index 0e3e576bab7..fd66d85b4a6 100644 --- a/sys/sys/devfsext.h +++ b/sys/sys/devfsext.h @@ -23,12 +23,20 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: devfsext.h,v 1.22 1998/12/10 19:57:01 eivind Exp $ + * $Id: devfsext.h,v 1.23 1999/08/08 18:42:59 phk Exp $ */ #ifndef _SYS_DEVFSEXT_H_ #define _SYS_DEVFSEXT_H_ +#warning "Using obsolete " +/* + * The old DEVFS API is obsolete and should be discontinued ASAP + * Please use the make_dev() function instead. Plenty of examples + * to look at all over the place, contact phk@FreeBSD.org if in + * doubt. + */ + /* * Make a device at a path, and get a cookie for it in return. * Specify the type, the minor number and the devsw entry to use, -- 2.45.2