]> The Tcpdump Group git mirrors - tcpdump/commit
Avoid some warnings from Sun C.
authorGuy Harris <[email protected]>
Sat, 22 Jun 2013 21:06:33 +0000 (14:06 -0700)
committerGuy Harris <[email protected]>
Sat, 22 Jun 2013 21:06:33 +0000 (14:06 -0700)
commit94bf5a24bf7c9c959ad90821655d2b68c92ef32f
treee5498e4298be3fe2083d3577b3baedee025a7d50
parent85f8a9984983e54503c408166c78d256690dcd29
Avoid some warnings from Sun C.

Some versions of Sun C support __attribute__ but don't support the
"unused" or "format" attributes - they don't fail, but they whine a lot.
They also support the "noreturn" attribute, but don't allow it to be
applied to function pointers, only to functions.

Check whether they can be used without warnings, and use them only if
they can.
aclocal.m4
config.h.in
configure
configure.in
interface.h
machdep.c
netdissect.h