diff options
author | defanor <defanor@uberspace.net> | 2023-09-15 14:45:34 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-09-15 14:45:34 +0300 |
commit | 8882b21c09eca7d6fd948e52e45ab1b3b109176f (patch) | |
tree | 186b7e027a50d079f21a7a6ea146344a2cbc4581 | |
parent | eb6f5e7f1127783c347e31d8de506d583cc69c59 (diff) |
Declare rexmpp_str_putc_escaped as "static inline"
-rw-r--r-- | src/rexmpp_xml.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |