From 8882b21c09eca7d6fd948e52e45ab1b3b109176f Mon Sep 17 00:00:00 2001 From: defanor Date: Fri, 15 Sep 2023 14:45:34 +0300 Subject: Declare rexmpp_str_putc_escaped as "static inline" --- src/rexmpp_xml.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rexmpp_xml.c b/src/rexmpp_xml.c index a7572fc..08e11dd 100644 --- a/src/rexmpp_xml.c +++ b/src/rexmpp_xml.c @@ -265,7 +265,8 @@ inline char *rexmpp_str_putc (char *str, size_t *len, char c) { return ret; } -inline char *rexmpp_str_putc_escaped (char *str, size_t *len, char c) { +static inline +char *rexmpp_str_putc_escaped (char *str, size_t *len, char c) { char *ret = str; char buf[7]; char *esc = buf; -- cgit v1.2.3