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....
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4156#issuecomment-2678132456
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4156/2678132...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to