[sr-dev] git:master:f38dc1bf: modules/ims_dialog: fix c compiler warning - removed inline

jaybeepee jason.penton at gmail.com
Mon Jun 13 11:47:05 CEST 2016


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

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2016-06-13T11:46:51+02:00

modules/ims_dialog: fix c compiler warning - removed inline

---

Modified: modules/ims_dialog/dlg_hash.c
Modified: modules/ims_dialog/dlg_hash.h

---

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

---

diff --git a/modules/ims_dialog/dlg_hash.c b/modules/ims_dialog/dlg_hash.c
index cc6db50..984cbc8 100644
--- a/modules/ims_dialog/dlg_hash.c
+++ b/modules/ims_dialog/dlg_hash.c
@@ -187,7 +187,7 @@ static void destroy_entry_out(struct dlg_entry_out *d_entry_out) {
  * \brief Destroy a dialog, run callbacks and free memory
  * \param dlg destroyed dialog
  */
-inline void destroy_dlg(struct dlg_cell *dlg) {
+void destroy_dlg(struct dlg_cell *dlg) {
     int ret = 0;
     struct dlg_var *var;
 
diff --git a/modules/ims_dialog/dlg_hash.h b/modules/ims_dialog/dlg_hash.h
index 0988c5a..2f6e582 100644
--- a/modules/ims_dialog/dlg_hash.h
+++ b/modules/ims_dialog/dlg_hash.h
@@ -223,7 +223,7 @@ static inline void unlink_unsafe_dlg(struct dlg_entry *d_entry, struct dlg_cell
  * \brief Destroy a dialog, run callbacks and free memory
  * \param dlg destroyed dialog
  */
-inline void destroy_dlg(struct dlg_cell *dlg);
+void destroy_dlg(struct dlg_cell *dlg);
 
 
 /*!




More information about the sr-dev mailing list