Module Name: src Committed By: kre Date: Sun Mar 4 19:23:33 UTC 2018
Modified Files: src/sys/sys: pmf.h Log Message: device.h also now needs pmf_qual_t exposed for _KMEMUSERs To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/sys/pmf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/pmf.h diff -u src/sys/sys/pmf.h:1.22 src/sys/sys/pmf.h:1.23 --- src/sys/sys/pmf.h:1.22 Thu Oct 5 01:26:53 2017 +++ src/sys/sys/pmf.h Sun Mar 4 19:23:33 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: pmf.h,v 1.22 2017/10/05 01:26:53 jmcneill Exp $ */ +/* $NetBSD: pmf.h,v 1.23 2018/03/04 19:23:33 kre Exp $ */ /*- * Copyright (c) 2007 Jared D. McNeill <jmcne...@invisible.ca> @@ -29,7 +29,7 @@ #ifndef _SYS_PMF_H #define _SYS_PMF_H -#ifdef _KERNEL +#if defined(_KERNEL) || defined(_KMEMUSER) #include <sys/types.h> #include <sys/device_if.h> @@ -62,6 +62,9 @@ struct pmf_qual { }; typedef struct pmf_qual pmf_qual_t; +#endif + +#if defined(_KERNEL) extern const pmf_qual_t * const PMF_Q_NONE; extern const pmf_qual_t * const PMF_Q_SELF; extern const pmf_qual_t * const PMF_Q_DRVCTL;