summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/module.94
1 files changed, 3 insertions, 1 deletions
diff --git a/share/man/man9/module.9 b/share/man/man9/module.9
index a1331b7..c0a30a3 100644
--- a/share/man/man9/module.9
+++ b/share/man/man9/module.9
@@ -64,8 +64,10 @@ contains the value of
.Bd -literal
#include <sys/param.h>
#include <sys/module.h>
+#include <sys/kernel.h>
-modeventhand_t foo_handler;
+static int foo_handler(module_t mod, int /*modeventtype_t*/ what,
+ void *arg);
static moduledata_t mod_data= {
"foo",
OpenPOWER on IntegriCloud