]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Make netsnmp headers compatible with C99.
authorVincent Bernat <bernat@luffy.cx>
Wed, 28 Oct 2009 10:38:03 +0000 (11:38 +0100)
committerVincent Bernat <bernat@luffy.cx>
Wed, 28 Oct 2009 10:41:30 +0000 (11:41 +0100)
commit915dc28b79c1df17d19e3b00b66d224977536eac
treef836b7e02a088bf8ee3c52f2ae5849fe1652e8dc
parentfa835fd553832d53a6167b42aa23edf117a9c0bb
Make netsnmp headers compatible with C99.

Disable inlining by adding -DNETSNMP_NO_INLINE to CFLAGS. Since we
only use header files, this should not be a problem. A more valid fix
would be to turn NETSNMP_INLINE into "extern inline" instead of just
"inline".

Without this fix, we get a lot of warnings with gcc 4.3.
m4/snmp.m4