Re: [Qemu-devel] [PATCH] slirp: Remove unused code for bad sprintf

2010-11-21 Thread Anthony Liguori
On 11/15/2010 02:15 PM, Stefan Weil wrote: Neither DECLARE_SPRINTF nor BAD_SPRINTF are needed for QEMU. QEMU won't support systems with missing or bad declarations for sprintf. The unused code was detected while looking for functions with missing format checking. Instead of adding GCC_FMT_ATTR,

[Qemu-devel] [PATCH] slirp: Remove unused code for bad sprintf

2010-11-15 Thread Stefan Weil
Neither DECLARE_SPRINTF nor BAD_SPRINTF are needed for QEMU. QEMU won't support systems with missing or bad declarations for sprintf. The unused code was detected while looking for functions with missing format checking. Instead of adding GCC_FMT_ATTR, the unused code was removed. Cc: Blue Swirl