Module: kamailio
Branch: 4.1
Commit: 79c8abb59e7b845b00f720b91628b8999103f94f
URL:
https://github.com/kamailio/kamailio/commit/79c8abb59e7b845b00f720b91628b89…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-25T18:46:07+01:00
dialog: remove inline for destroy_dlg() to make clang linker work
---
Modified: modules/dialog/dlg_hash.c
Modified: modules/dialog/dlg_hash.h
---
Diff:
https://github.com/kamailio/kamailio/commit/79c8abb59e7b845b00f720b91628b89…
Patch:
https://github.com/kamailio/kamailio/commit/79c8abb59e7b845b00f720b91628b89…
---
diff --git a/modules/dialog/dlg_hash.c b/modules/dialog/dlg_hash.c
index b9ed0e9..c9689c7 100644
--- a/modules/dialog/dlg_hash.c
+++ b/modules/dialog/dlg_hash.c
@@ -347,7 +347,7 @@ int init_dlg_table(unsigned int size)
* \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/dialog/dlg_hash.h b/modules/dialog/dlg_hash.h
index 6fd0086..e2a4f98 100644
--- a/modules/dialog/dlg_hash.h
+++ b/modules/dialog/dlg_hash.h
@@ -213,7 +213,7 @@ static inline void unlink_unsafe_dlg(dlg_entry_t *d_entry, dlg_cell_t
*dlg)
* \brief Destroy a dialog, run callbacks and free memory
* \param dlg destroyed dialog
*/
-inline void destroy_dlg(dlg_cell_t *dlg);
+void destroy_dlg(dlg_cell_t *dlg);
/*!