summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-01-17 07:26:02 (GMT)
committerTobias Klauser <tklauser@distanz.ch>2017-01-20 08:38:11 (GMT)
commit160c5f0b9a3da7cc2b4b0faaee6482f2456ee3c2 (patch)
treef49e2ea8983810a05d5e5ac0dc4c917118a87813 /lib
parent2d15a6b2a5a645c7bc0df00348f32210a94a8a5f (diff)
downloadlibnl-160c5f0b9a3da7cc2b4b0faaee6482f2456ee3c2.zip
libnl-160c5f0b9a3da7cc2b4b0faaee6482f2456ee3c2.tar.gz
libnl-160c5f0b9a3da7cc2b4b0faaee6482f2456ee3c2.tar.bz2
xfrm/sa: Include own public header for function prototypes
Include the own public header in order to get function prototypes for all public functions defined in this module. This fixes GCC -Wmissing-prototype warnings. Also adjust the function prototype of xfrmnl_sa_get_sec_ctx() to match the definition. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'lib')
-rw-r--r--lib/xfrm/sa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xfrm/sa.c b/lib/xfrm/sa.c
index 5bd9952..00460da 100644
--- a/lib/xfrm/sa.c
+++ b/lib/xfrm/sa.c
@@ -42,6 +42,7 @@
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/object.h>
+#include <netlink/xfrm/sa.h>
#include <netlink/xfrm/selector.h>
#include <netlink/xfrm/lifetime.h>
#include <time.h>