summaryrefslogtreecommitdiffstats
path: root/share/man/man9/module.9
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-03-11 14:18:23 +0000
committeralex <alex@FreeBSD.org>2001-03-11 14:18:23 +0000
commit22925ff2810349110240c74ddd88b5cae1f2702b (patch)
tree426f707e75fef32a93d241f24fac4007780ad568 /share/man/man9/module.9
parent49ef2fb6090e7fd30bdca70bc0acbc3586d96a3d (diff)
downloadFreeBSD-src-22925ff2810349110240c74ddd88b5cae1f2702b.zip
FreeBSD-src-22925ff2810349110240c74ddd88b5cae1f2702b.tar.gz
Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE.
Diffstat (limited to 'share/man/man9/module.9')
-rw-r--r--share/man/man9/module.93
1 files changed, 3 insertions, 0 deletions
diff --git a/share/man/man9/module.9 b/share/man/man9/module.9
index 2539bc1..d6bda1c 100644
--- a/share/man/man9/module.9
+++ b/share/man/man9/module.9
@@ -73,6 +73,9 @@ static moduledata_t mod_data= {
0
};
+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: */
OpenPOWER on IntegriCloud