diff options
author | Kevin Cernekee <cernekee@chromium.org> | 2017-01-04 14:30:25 -0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-01-16 14:29:10 +0100 |
commit | d0c4e39d12f903e06db262656cff2e24d267bed7 (patch) | |
tree | 1182a1994750383bbabd1119bc568b1fcf8f512f /doxygen.cfg.in | |
parent | b17fc19b937f33635d73de75b43d62b56c16664f (diff) | |
download | libnetfilter_cttimeout-d0c4e39d12f903e06db262656cff2e24d267bed7.tar.gz |
Use __EXPORTED rather than EXPORT_SYMBOL
clang is sensitive to the ordering of
__attribute__((visibility("default"))) relative to the function
body. gcc is not. So if we try to re-declare an existing function
with default visibility, clang prints a warning and generates
a broken .so file in which nfct_timeout_* are not exported to library
callers.
Move the attribute up into the function definition to make clang happy.
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doxygen.cfg.in')
-rw-r--r-- | doxygen.cfg.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doxygen.cfg.in b/doxygen.cfg.in index 8e5d449..09c3ce0 100644 --- a/doxygen.cfg.in +++ b/doxygen.cfg.in @@ -72,7 +72,7 @@ RECURSIVE = YES EXCLUDE = EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = */.git/* .*.d -EXCLUDE_SYMBOLS = EXPORT_SYMBOL nfct_timeout _container_policy_cb +EXCLUDE_SYMBOLS = nfct_timeout _container_policy_cb EXAMPLE_PATH = EXAMPLE_PATTERNS = EXAMPLE_RECURSIVE = NO |