Module: kamailio
Branch: master
Commit: 39c79265e6f46af57d54953be248fbe53e7d3cbd
URL: 
https://github.com/kamailio/kamailio/commit/39c79265e6f46af57d54953be248fbe53e7d3cbd

Author: Bastian Triller <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2026-05-08T09:55:05+02:00

dmq: Fix compiler warning deprecated-non-prototype

Fixes: e60a77e020 ("dmq: added init_with_single parameter")

---

Modified: src/modules/dmq/peer.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/39c79265e6f46af57d54953be248fbe53e7d3cbd.diff
Patch: 
https://github.com/kamailio/kamailio/commit/39c79265e6f46af57d54953be248fbe53e7d3cbd.patch

---

diff --git a/src/modules/dmq/peer.h b/src/modules/dmq/peer.h
index 3fbd3f4d6a0..9ecd5d875a7 100644
--- a/src/modules/dmq/peer.h
+++ b/src/modules/dmq/peer.h
@@ -45,7 +45,7 @@ typedef struct peer_response
 
 typedef int (*peer_callback_t)(
                struct sip_msg *, peer_reponse_t *resp, dmq_node_t *node);
-typedef int (*init_callback_t)();
+typedef int (*init_callback_t)(dmq_node_t *dmq_node);
 
 typedef struct dmq_peer
 {

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to