summaryrefslogtreecommitdiffstats
path: root/sys/sys/module.h
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 21:50:00 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 21:50:00 +0000
commita40e0249d4e2495009cf3fb552bc428d0a8a8676 (patch)
tree4c208238f4839fac2a65719e0587b7b1583d6224 /sys/sys/module.h
parent143a811b84ef1bcf36b91153bfd028dca51265ef (diff)
downloadFreeBSD-src-a40e0249d4e2495009cf3fb552bc428d0a8a8676.zip
FreeBSD-src-a40e0249d4e2495009cf3fb552bc428d0a8a8676.tar.gz
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/sys/module.h')
-rw-r--r--sys/sys/module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/module.h b/sys/sys/module.h
index 3e0a000..c8d8557 100644
--- a/sys/sys/module.h
+++ b/sys/sys/module.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: module.h,v 1.6 1999/01/09 14:59:49 dfr Exp $
+ * $Id: module.h,v 1.7 1999/01/27 20:09:21 dillon Exp $
*/
#ifndef _SYS_MODULE_H_
@@ -37,7 +37,7 @@ typedef enum modeventtype {
typedef struct module *module_t;
-typedef int (*modeventhand_t)(module_t mod, modeventtype_t what,
+typedef int (*modeventhand_t)(module_t mod, int /*modeventtype_t*/ what,
void *arg);
/*
OpenPOWER on IntegriCloud