summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rbcodec/codecs/codecs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/codecs.h b/lib/rbcodec/codecs/codecs.h
index 672b1de..4ac5d28 100644
--- a/lib/rbcodec/codecs/codecs.h
+++ b/lib/rbcodec/codecs/codecs.h
@@ -258,7 +258,8 @@ extern unsigned char plugin_end_addr[];
codec_start, codec_run, &ci };
/* encoders */
#define CODEC_ENC_HEADER \
- const struct codec_header __header = { \
+ const struct codec_header __header \
+ __attribute__((visibility("default"))) = { \
{ CODEC_ENC_MAGIC, TARGET_ID, CODEC_API_VERSION, NULL, NULL }, \
codec_start, codec_run, &ci, { enc_callback } };
#endif /* SIMULATOR */