[sr-dev] git:master:311ac224: tsilo: remove inline from free_ts_transaction() definition

Daniel-Constantin Mierla miconda at gmail.com
Tue Jan 19 14:28:27 CET 2016


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-01-19T14:27:21+01:00

tsilo: remove inline from free_ts_transaction() definition

- the prototype is without, resulting in compile warning

---

Modified: modules/tsilo/ts_hash.c

---

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

---

diff --git a/modules/tsilo/ts_hash.c b/modules/tsilo/ts_hash.c
index 2ad2cad..baa2807 100644
--- a/modules/tsilo/ts_hash.c
+++ b/modules/tsilo/ts_hash.c
@@ -422,7 +422,7 @@ void remove_ts_transaction(ts_transaction_t* ts_t)
  * \brief Destroy a transaction and free memory
  * \param tma destroyed transaction
  */
-inline void free_ts_transaction(void *ts_t)
+void free_ts_transaction(void *ts_t)
 {
 	shm_free((struct ts_transaction*)ts_t);
 	ts_t = 0;




More information about the sr-dev mailing list