sergey-safarov created an issue (kamailio/kamailio#4370)

```
CC (cc) [M ims_icscf.so]                cxdx_avp.o
CC (cc) [M ims_icscf.so]                cxdx_lir.o
CC (cc) [M ims_icscf.so]                cxdx_uar.o
CC (cc) [M ims_icscf.so]                db.o
CC (cc) [M ims_icscf.so]                ims_icscf_mod.o
CC (cc) [M ims_icscf.so]                location.o
CC (cc) [M ims_icscf.so]                nds.o
CC (cc) [M ims_icscf.so]                registration.o
CC (cc) [M ims_icscf.so]                scscf_list.o
CC (cc) [M ims_icscf.so]                stats.o
ims_icscf_mod.c: In function 'mod_init':
ims_icscf_mod.c:239:27: error: passing argument 1 of 'register_timer' from 
incompatible pointer type [-Wincompatible-pointer-types]
  239 |         if(register_timer(ims_icscf_timer_routine, 0, 60) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           void (*)(void)
In file included from ims_icscf_mod.c:48:
../../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 registration.h:51,
                 from ims_icscf_mod.h:70,
                 from ims_icscf_mod.c:51:
scscf_list.h:182:6: note: 'ims_icscf_timer_routine' declared here
  182 | void ims_icscf_timer_routine();
      |      ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [../../Makefile.rules:100: ims_icscf_mod.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:509: modules] Error 1
make[1]: Leaving directory 
'/builds/safarov/aports/main/kamailio/src/kamailio-6.0.1/src'
make: *** [Makefile:34: all] Error 2
```

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

Message ID: <kamailio/kamailio/issues/4...@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