Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE.
This commit is contained in:
parent
49ef2fb609
commit
22925ff281
@ -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