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:
#define __init __attribute__ ((constructor))
#define __exit __attribute__ ((destructor))
+#undef __deprecated
#define __deprecated __attribute__ ((deprecated))
#define min(x,y) ({ \