From f58c5b09fb59baf07c942d373fc4d522b27e73c6 Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Wed, 4 Jan 2017 14:30:26 -0800 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- doxygen.cfg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doxygen.cfg.in') 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 -- cgit v1.2.3