diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-04-20 10:55:24 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-04-20 10:55:24 +0200 |
commit | fd2e3765219ad6c47d24e82e9bbf2d54d5b6b207 (patch) | |
tree | 5187c7a33f1ce94751160e61c56c70f93162bc82 /test/util.py | |
parent | 774bfc36bb2971687cc775d181ebaf0916803baf (diff) |
acl-plugin: acl-as-a-service: VPP-1248: fix the error if exports.h included in more than one C file
Including the exports.h from multiple .c files belonging to a single plugin results in an error.
Fix that by making all the exported function pointers static, so every place
which includes the exports.h gets its own copy of function pointers.
This will also require to call separately the acl_plugin_exports_init() per file
to initialize them.
Change-Id: Icb70695efa23579c46c716944838766cebc8573e
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'test/util.py')
0 files changed, 0 insertions, 0 deletions