]> git.alsa-project.org Git - alsa-lib.git/commit
Fix EXPORT_SYMBOL attribute for clang
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 14 Jun 2021 04:41:11 +0000 (12:41 +0800)
committerJaroslav Kysela <perex@perex.cz>
Mon, 14 Jun 2021 08:11:42 +0000 (10:11 +0200)
commit8253c1c1f9095901c7dbfbb8ca5147d05828651a
treece50c63f6395bbc5b70a25427b59e07204534dfe
parent76d1aa0cd7635f903bb1d48bb9c18279d46ec624
Fix EXPORT_SYMBOL attribute for clang

Clang doesn't have the externally_visible attribute.

    src/pcm/pcm.c:1503:1: error: unknown attribute 'externally_visible' ignored [-Werror,-Wunknown-attributes]
    #define EXPORT_SYMBOL __attribute__((visibility("default"),externally_visible))                                                         ^

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/alsa-symbols.h