From 465f853f3d02f6ec0cfbc4dd784d62fc44fa1437 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 24 Mar 2001 12:18:45 +0000 Subject: Sort includes and remove bogus typedef of modeventhand_t, since this isn't used in the example any more. Pointed out by: bde --- share/man/man9/module.9 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'share/man/man9/module.9') 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 -#include #include +#include 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 , -- cgit v1.1