mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE.
This commit is contained in:
parent
1f15c0d66c
commit
9790b255bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74101
@ -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: */
|
||||
|
Loading…
Reference in New Issue
Block a user