linuxmaniac left a comment (kamailio/kamailio#4156)
``` ims_dialog.c: In function ‘mod_init’: ims_dialog.c:573:27: error: passing argument 1 of ‘register_timer’ from incompatible pointer type [-Wincompatible-pointer-types] 573 | if(register_timer(print_all_dlgs, 0, 10) < 0) { | ^~~~~~~~~~~~~~ | | | void (*)(void) In file included from ../../core/pt.h:31, from ../../core/counters.h:37, from ../../core/sr_module.h:44, from ims_dialog.c:7: ../../core/timer.h:191:35: note: expected ‘void (*)(unsigned int, void *)’ but argument is of type ‘void (*)(void)’ 191 | int register_timer(timer_function f, void *param, unsigned int interval); | ~~~~~~~~~~~~~~~^ In file included from ims_dialog.c:27: dlg_handlers.h:199:6: note: ‘print_all_dlgs’ declared here 199 | void print_all_dlgs(); | ^~~~~~~~~~~~~~ make[4]: *** [../../Makefile.rules:100: ims_dialog.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ```