Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE.

This commit is contained in:
alex 2001-03-11 14:18:23 +00:00
parent 49ef2fb609
commit 22925ff281

View File

@ -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: */