]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_rayo] Enable -fno-common compilation
authorCiprian <ciprian.dosoftei@gmail.com>
Tue, 1 Sep 2020 16:13:28 +0000 (12:13 -0400)
committerGitHub <noreply@github.com>
Tue, 1 Sep 2020 16:13:28 +0000 (20:13 +0400)
src/mod/event_handlers/mod_rayo/iks_helpers.h

index e221abe390f3fc7061233d9a3ff7d942acf05961..b98dbf5be6fa9c4fe1b1059b3666bf980ac14581 100644 (file)
@@ -51,8 +51,7 @@ struct xmpp_error {
 
 #undef XMPP_ERROR
 #define XMPP_ERROR(def_name, name, type) \
-       SWITCH_DECLARE(const struct xmpp_error) def_name##_val; \
-       SWITCH_DECLARE(const struct xmpp_error *) def_name;
+       extern const struct xmpp_error *def_name;
 #include "xmpp_errors.def"
 
 /* See RFC-3920 XMPP core for error definitions */