summaryrefslogtreecommitdiffstats
path: root/src/internal.h
Commit message (Collapse)AuthorAgeFilesLines
* Use __EXPORTED rather than EXPORT_SYMBOLHEADmasterKevin Cernekee2017-01-161-3/+2
| | | | | | | | | | | | | | 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>
* initial commitPablo Neira Ayuso2012-02-291-0/+12
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>