GCC 3.4 doesn't check for NULL format-strings for __attribute__((printf))
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 23 Oct 2004 13:10:45 +0000 (13:10 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 23 Oct 2004 13:10:45 +0000 (13:10 +0000)
commit38139e707cce00f4ebe1f768dcddfbaeee9db9b3
treeafce1b9346c94b4589cfa74667c50379c096e973
parente6d56d3157108019269eaa340b98aefb4213fa97
GCC 3.4 doesn't check for NULL format-strings for __attribute__((printf))
by default. Therefore the __printflike macro has to include a nonnull
attribute too, which printf0like doesn't need. This makes the macros
work as expected again.
sys/sys/cdefs.h