Since the moduledata structure member priv is a void pointer, using

NULL instead of 0 when dealing with pointers.
This commit is contained in:
Kevin Lo 2012-10-12 01:31:02 +00:00
parent 2f001371c3
commit 61ec8e057f

View File

@ -99,7 +99,7 @@ static int foo_handler(module_t mod, int /*modeventtype_t*/ what,
static moduledata_t mod_data= {
"foo",
foo_handler,
0
NULL
};
MODULE_VERSION(foo, 1);