aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/module.h
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-27 21:50:00 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-27 21:50:00 +0000
commitd254af07a14b8ea8891c2369150729943aa142df (patch)
tree2f1d801e18eaabd9c7650b3093c05f623b35ce3e /sys/sys/module.h
parent598217c491a12a9ff390d11f4f469a8444c52e20 (diff)
downloadsrc-d254af07a14b8ea8891c2369150729943aa142df.tar.gz
src-d254af07a14b8ea8891c2369150729943aa142df.zip
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Notes
Notes: svn path=/head/; revision=43301
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 3e0a000df37c..c8d855723d09 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);
/*