summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-01-17 07:25:30 (GMT)
committerTobias Klauser <tklauser@distanz.ch>2017-01-20 08:38:11 (GMT)
commit2d15a6b2a5a645c7bc0df00348f32210a94a8a5f (patch)
tree636dfd0210c9d94ce6407a5832c5dcc25645addb
parent1df1da9c6f72a1ebd28471cac81cd4a228828344 (diff)
downloadlibnl-2d15a6b2a5a645c7bc0df00348f32210a94a8a5f.zip
libnl-2d15a6b2a5a645c7bc0df00348f32210a94a8a5f.tar.gz
libnl-2d15a6b2a5a645c7bc0df00348f32210a94a8a5f.tar.bz2
xfrm/lifetime: 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. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--lib/xfrm/lifetime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xfrm/lifetime.c b/lib/xfrm/lifetime.c
index f0effd8..3b9d842 100644
--- a/lib/xfrm/lifetime.c
+++ b/lib/xfrm/lifetime.c
@@ -46,6 +46,7 @@
* ~~~~
*/
+#include <netlink/xfrm/lifetime.h>
#include <netlink-private/netlink.h>
static void ltime_cfg_destroy(struct xfrmnl_ltime_cfg* ltime)