Avoid converting void * to a function pointer when NULL is defined as ((void *)0), by have a 0 instead.