0c4986ee3fa02fc38634fe5df38f2b57c401e2df
[feed/telephony.git] / net / freeswitch / patches / 410-mod_rayo_enable-f-no-common-compilation.patch
1 commit 9c01bd4c78c678e989ac77522145d3bd46352f6f
2 Author: Ciprian <ciprian.dosoftei@gmail.com>
3 Date: Tue Sep 1 12:13:28 2020 -0400
4
5 [mod_rayo] Enable -fno-common compilation
6
7 diff --git a/src/mod/event_handlers/mod_rayo/iks_helpers.h b/src/mod/event_handlers/mod_rayo/iks_helpers.h
8 index e221abe390..b98dbf5be6 100644
9 --- a/src/mod/event_handlers/mod_rayo/iks_helpers.h
10 +++ b/src/mod/event_handlers/mod_rayo/iks_helpers.h
11 @@ -51,8 +51,7 @@ struct xmpp_error {
12
13 #undef XMPP_ERROR
14 #define XMPP_ERROR(def_name, name, type) \
15 - SWITCH_DECLARE(const struct xmpp_error) def_name##_val; \
16 - SWITCH_DECLARE(const struct xmpp_error *) def_name;
17 + extern const struct xmpp_error *def_name;
18 #include "xmpp_errors.def"
19
20 /* See RFC-3920 XMPP core for error definitions */