From 34301ea16812eccbb914ea14cafb0140ac9bba61 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 26 Jan 2021 11:52:36 +0100 Subject: [PATCH] core: ut.h - add inline to static function to avoid warning from including files - for shm_str_dup_block() --- src/core/ut.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ut.h b/src/core/ut.h index 99e12a41363..4ab08024a7f 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;