diff options
author | alex <alex@FreeBSD.org> | 2001-03-24 12:18:45 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2001-03-24 12:18:45 +0000 |
commit | 465f853f3d02f6ec0cfbc4dd784d62fc44fa1437 (patch) | |
tree | 0431ed6c8bb753fa3d24734c6453746b3190e9c3 /share/man/man9/module.9 | |
parent | 27f1746a0afa3a650f0102012e151bdcda601036 (diff) | |
download | FreeBSD-src-465f853f3d02f6ec0cfbc4dd784d62fc44fa1437.zip FreeBSD-src-465f853f3d02f6ec0cfbc4dd784d62fc44fa1437.tar.gz |
Sort includes and remove bogus typedef of modeventhand_t, since this
isn't used in the example any more.
Pointed out by: bde
Diffstat (limited to 'share/man/man9/module.9')
-rw-r--r-- | share/man/man9/module.9 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/share/man/man9/module.9 b/share/man/man9/module.9 index c0a30a3..b29408d 100644 --- a/share/man/man9/module.9 +++ b/share/man/man9/module.9 @@ -63,8 +63,8 @@ contains the value of .Sh EXAMPLES .Bd -literal #include <sys/param.h> -#include <sys/module.h> #include <sys/kernel.h> +#include <sys/module.h> static int foo_handler(module_t mod, int /*modeventtype_t*/ what, void *arg); @@ -79,10 +79,6 @@ MODULE_VERSION(foo, 1); MODULE_DEPEND(foo, bar, 1, 3, 4); DECLARE_MODULE(foo, mod_data, SI_SUB_EXEC, SI_ORDER_ANY); - -/* from module.h: */ -typedef int (*modeventhand_t)(module_t mod, int /*modeventtype_t*/ what, - void *arg); .Ed .Sh SEE ALSO .Xr DEV_MODULE 9 , |