]> granicus.if.org Git - libnl/commit
libnl: fix about 100 warnings
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Thu, 14 Aug 2008 09:53:38 +0000 (11:53 +0200)
committerThomas Graf <tgr@plip.localdomain>
Mon, 18 Aug 2008 23:40:25 +0000 (01:40 +0200)
commite38716b41e79b2d60ab9b7ada9678e1014a6898e
treefab3571b4f7552d45608ca00455fa2c9fd6b0aa0
parentb310cbb7b6d1f48411d3ee72b48b7103ee2267eb
libnl: fix about 100 warnings

In file included from addr.c:28:
../include/netlink-local.h:119:1: warning: "__deprecated" redefined
In file included from /usr/include/linux/stddef.h:4,
                 from /usr/include/linux/posix_types.h:4,
                 from /usr/include/linux/types.h:8,
                 from ../include/netlink-local.h:37,
                 from addr.c:28:
/usr/include/linux/compiler.h:45:1: warning: this is the location of the previous definition

This happens about 100 times. Suggested patch:
include/netlink-local.h