summaryrefslogtreecommitdiffstats
path: root/doxygen.cfg.in
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@chromium.org>2017-01-04 14:30:26 -0800
committerPablo Neira Ayuso <pablo@netfilter.org>2017-01-16 14:29:47 +0100
commitf58c5b09fb59baf07c942d373fc4d522b27e73c6 (patch)
tree8b605198a6a6b16f39b82f103da8eef42cec5e14 /doxygen.cfg.in
parent7d55aff4686a5910f84b9045c98d6f01e1daa297 (diff)
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_helper_* 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.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doxygen.cfg.in b/doxygen.cfg.in
index cac9b05..190b7cd 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
+EXCLUDE_SYMBOLS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = NO