diff options
author | Armin K <krejzi@email.com> | 2017-12-23 21:12:04 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-12-30 21:56:18 +0100 |
commit | 7966020bdf0135b7d5c4c792883875019ae2a906 (patch) | |
tree | bf48148fae03ff7dbaed5c50b511a018833d874f /src/expr/payload.c | |
parent | fb998eccee2030aabe249b1e7515050399e0304b (diff) |
src: Fix exporting symbols with clang
When EXPORT_SYMBOL is located after function definition, clang won't
properly export the function, resulting in a library with no symbols
when built with clang.
Based on libmnl commit dcdb47373a37 ("Move declaration of visibility
attributes before definition.")
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1205
Signed-off-by: Armin K <krejzi@email.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr/payload.c')
0 files changed, 0 insertions, 0 deletions