summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-01-16 13:49:09 (GMT)
committerTobias Klauser <tklauser@distanz.ch>2017-01-20 08:38:10 (GMT)
commitd0dd6a512571db4fc399a0fa37fb4f9c6c0eddee (patch)
tree95389074e00f344e32e35336a5ce9c7547356daf /lib
parent6cae3db1e015932f204370c896cdf64386f0d6b4 (diff)
downloadlibnl-d0dd6a512571db4fc399a0fa37fb4f9c6c0eddee.zip
libnl-d0dd6a512571db4fc399a0fa37fb4f9c6c0eddee.tar.gz
libnl-d0dd6a512571db4fc399a0fa37fb4f9c6c0eddee.tar.bz2
link/inet6: 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>
Diffstat (limited to 'lib')
-rw-r--r--lib/route/link/inet6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/route/link/inet6.c b/lib/route/link/inet6.c
index e2d40cf..3d2668c 100644
--- a/lib/route/link/inet6.c
+++ b/lib/route/link/inet6.c
@@ -13,6 +13,7 @@
#include <netlink/netlink.h>
#include <netlink/attr.h>
#include <netlink/route/rtnl.h>
+#include <netlink/route/link/inet6.h>
#include <netlink-private/route/link/api.h>
#define I6_ADDR_GEN_MODE_UNKNOWN UINT8_MAX