Module: kamailio
Branch: master
Commit: 34301ea16812eccbb914ea14cafb0140ac9bba61
URL:
https://github.com/kamailio/kamailio/commit/34301ea16812eccbb914ea14cafb014…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-01-26T11:54:34+01:00
core: ut.h - add inline to static function to avoid warning from including files
- for shm_str_dup_block()
---
Modified: src/core/ut.h
---
Diff:
https://github.com/kamailio/kamailio/commit/34301ea16812eccbb914ea14cafb014…
Patch:
https://github.com/kamailio/kamailio/commit/34301ea16812eccbb914ea14cafb014…
---
diff --git a/src/core/ut.h b/src/core/ut.h
index 99e12a4136..4ab08024a7 100644
--- a/src/core/ut.h
+++ b/src/core/ut.h
@@ -748,7 +748,7 @@ static inline int strz2sint(char* _s, int* _r)
/**
* duplicate str structure and content in a single shm block
*/
-static str* shm_str_dup_block(const str* src)
+static inline str* shm_str_dup_block(const str* src)
{
str *dst;