Fix the compiler attribute test to work with Clang.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 8 Oct 2018 19:27:08 +0000 (21:27 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 8 Oct 2018 19:47:09 +0000 (21:47 +0200)
commit5c76d51d0badd8a35e3883f18a5792e830448768
treef413e527302aa38532dd7cb3e0864482fcf5bf68
parent2b74e1b01af2d56d6e7ebc135143fbe81f6ca455
Fix the compiler attribute test to work with Clang.

Clang doesn't like the __nonnull__ attribute being applied to functions
that don't take pointer arguments, and this causes errors when running
the configure script.
m4/attribute.m4
src/ethernet.h
src/ipv4.h
src/ipv6.h
src/xalloc.h