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

NULL instead of 0 when dealing with pointers.
This commit is contained in:
kevlo 2012-10-12 01:31:02 +00:00
parent 789936ed16
commit 8c77f1f6a8

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);