Since the moduledata structure member priv is a void pointer, using
NULL instead of 0 when dealing with pointers.
This commit is contained in:
parent
2f001371c3
commit
61ec8e057f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user