netlink header remove inline from list.h and object.h

Stefan Sander s.sander at
Wed Feb 3 05:57:50 EST 2010


recently I had to compile an ANSI-C compliant source against the libnl
headers. It failed in the first run. I had to patch the use of the
keyword inline out of the headers /usr/include/netlink/list.h and
/usr/include/netlink/object.h. To compile ANSI-C compliant I used the
compiler option '-ansi'. Patch attached.

Stefan Sander

-------------- next part --------------
A non-text attachment was scrubbed...
Name: netlink_header_remove_inline.patch
Type: text/x-diff
Size: 1570 bytes
Desc: not available
URL: <>

More information about the libnl mailing list