]> granicus.if.org Git - libnl/commit
build: fixup headers for C++ inclusion
authorCraig Gallek <kraig@google.com>
Fri, 15 Jul 2016 14:29:06 +0000 (10:29 -0400)
committerThomas Haller <thaller@redhat.com>
Fri, 12 Aug 2016 21:00:18 +0000 (23:00 +0200)
commit625c8f13cf793ba61365c510970f4569a483f2ba
tree493f2442596f9c34d6e2ba098887599e84f4f621
parent656f381ccf58785319bb0236595c896125d33ed0
build: fixup headers for C++ inclusion

- Fix typos in extern "C" wrappers.
- 'class' is a reserved word, change to cls.
- int -> enum casts are not automatic.
- Static strings must be of type const char*
- Add a few implicit header dependencies explicitly.

http://lists.infradead.org/pipermail/libnl/2016-July/002165.html

Signed-off-by: Craig Gallek <kraig@google.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
include/linux-private/linux/ipv6.h
include/netlink-private/netlink.h
include/netlink-private/types.h
include/netlink/hashtable.h
include/netlink/route/link/ip6tnl.h
include/netlink/route/link/sit.h
include/netlink/route/qdisc/hfsc.h