From 68b71ec34c5ad6e7f41793d89a842c3f1b9fd750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 29 Jan 2019 12:46:26 +0100 Subject: [PATCH] Add missing AKODE_EXPORT on exported functions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- akode/plugins/ffmpeg_decoder/ffmpeg_decoder.h | 2 +- akode/plugins/mpc_decoder/mpc_decoder.h | 2 +- akode/plugins/mpeg_decoder/mpeg_decoder.h | 2 +- akode/plugins/src_resampler/src_resampler.h | 2 +- akode/plugins/xiph_decoder/flac_decoder.h | 6 +++--- akode/plugins/xiph_decoder/speex_decoder.h | 2 +- akode/plugins/xiph_decoder/vorbis_decoder.h | 2 +- akode/plugins/xiph_decoder/xiph_decoder.h | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.h b/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.h index 1ffda6c..92a873e 100644 --- a/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.h +++ b/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.h @@ -64,7 +64,7 @@ public: }; }; -extern "C" FFMPEGDecoderPlugin ffmpeg_decoder; +extern "C" AKODE_EXPORT FFMPEGDecoderPlugin ffmpeg_decoder; } // namespace diff --git a/akode/plugins/mpc_decoder/mpc_decoder.h b/akode/plugins/mpc_decoder/mpc_decoder.h index f88eede..edc7c60 100644 --- a/akode/plugins/mpc_decoder/mpc_decoder.h +++ b/akode/plugins/mpc_decoder/mpc_decoder.h @@ -61,7 +61,7 @@ public: }; }; -extern "C" MPCDecoderPlugin mpc_decoder; +extern "C" AKODE_EXPORT MPCDecoderPlugin mpc_decoder; } // namespace diff --git a/akode/plugins/mpeg_decoder/mpeg_decoder.h b/akode/plugins/mpeg_decoder/mpeg_decoder.h index 4d15ded..e7ed9a2 100644 --- a/akode/plugins/mpeg_decoder/mpeg_decoder.h +++ b/akode/plugins/mpeg_decoder/mpeg_decoder.h @@ -62,7 +62,7 @@ public: }; }; -extern "C" MPEGDecoderPlugin mpeg_decoder; +extern "C" AKODE_EXPORT MPEGDecoderPlugin mpeg_decoder; } // namespace diff --git a/akode/plugins/src_resampler/src_resampler.h b/akode/plugins/src_resampler/src_resampler.h index 7321c12..7ab55d1 100644 --- a/akode/plugins/src_resampler/src_resampler.h +++ b/akode/plugins/src_resampler/src_resampler.h @@ -50,7 +50,7 @@ public: virtual SRCResampler* openResampler(); }; -extern "C" SRCResamplerPlugin src_resampler; +extern "C" AKODE_EXPORT SRCResamplerPlugin src_resampler; } // namespace diff --git a/akode/plugins/xiph_decoder/flac_decoder.h b/akode/plugins/xiph_decoder/flac_decoder.h index 68a4cd9..57cbb10 100644 --- a/akode/plugins/xiph_decoder/flac_decoder.h +++ b/akode/plugins/xiph_decoder/flac_decoder.h @@ -79,9 +79,9 @@ public: }; }; -extern "C" FLACDecoderPlugin flac_decoder; +extern "C" AKODE_EXPORT FLACDecoderPlugin flac_decoder; #ifdef HAVE_LIBFLAC113 -extern "C" FLACDecoderPlugin oggflac_decoder; +extern "C" AKODE_EXPORT FLACDecoderPlugin oggflac_decoder; #endif #ifdef HAVE_LIBOGGFLAC @@ -93,7 +93,7 @@ public: }; }; -extern "C" OggFLACDecoderPlugin oggflac_decoder; +extern "C" AKODE_EXPORT OggFLACDecoderPlugin oggflac_decoder; #endif } // namespace diff --git a/akode/plugins/xiph_decoder/speex_decoder.h b/akode/plugins/xiph_decoder/speex_decoder.h index 903f828..99ecd7e 100644 --- a/akode/plugins/xiph_decoder/speex_decoder.h +++ b/akode/plugins/xiph_decoder/speex_decoder.h @@ -65,7 +65,7 @@ public: }; }; -extern "C" SpeexDecoderPlugin speex_decoder; +extern "C" AKODE_EXPORT SpeexDecoderPlugin speex_decoder; } // namespace diff --git a/akode/plugins/xiph_decoder/vorbis_decoder.h b/akode/plugins/xiph_decoder/vorbis_decoder.h index 5dd6790..37a6ec3 100644 --- a/akode/plugins/xiph_decoder/vorbis_decoder.h +++ b/akode/plugins/xiph_decoder/vorbis_decoder.h @@ -62,7 +62,7 @@ public: }; }; -extern "C" VorbisDecoderPlugin vorbis_decoder; +extern "C" AKODE_EXPORT VorbisDecoderPlugin vorbis_decoder; } // namespace diff --git a/akode/plugins/xiph_decoder/xiph_decoder.h b/akode/plugins/xiph_decoder/xiph_decoder.h index bef9fc8..2c61123 100644 --- a/akode/plugins/xiph_decoder/xiph_decoder.h +++ b/akode/plugins/xiph_decoder/xiph_decoder.h @@ -35,7 +35,7 @@ public: virtual Decoder* openDecoder(File* src); }; -extern "C" XiphDecoderPlugin xiph_decoder; +extern "C" AKODE_EXPORT XiphDecoderPlugin xiph_decoder; } // namespace