summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2023-09-15 14:45:34 +0300
committerdefanor <defanor@uberspace.net>2023-09-15 14:45:34 +0300
commit8882b21c09eca7d6fd948e52e45ab1b3b109176f (patch)
tree186b7e027a50d079f21a7a6ea146344a2cbc4581
parenteb6f5e7f1127783c347e31d8de506d583cc69c59 (diff)
Declare rexmpp_str_putc_escaped as "static inline"
-rw-r--r--src/rexmpp_xml.c3
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;