diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-11-15 21:15:26 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-11-21 09:16:57 -0600 |
commit | 9eca6cc64392b4ad8bd8723e840f491fa36524ad (patch) | |
tree | 3664ee6df6d810f19b738c1ba3114efd7bc16fb7 /slirp/slirp_config.h | |
parent | 0550f9c1b58896a6ca1d1256e26c78f84de2ed55 (diff) | |
download | qemu-9eca6cc64392b4ad8bd8723e840f491fa36524ad.tar.gz qemu-9eca6cc64392b4ad8bd8723e840f491fa36524ad.tar.bz2 qemu-9eca6cc64392b4ad8bd8723e840f491fa36524ad.zip |
slirp: Remove unused code for bad sprintf
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 <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/slirp_config.h')
-rw-r--r-- | slirp/slirp_config.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h index f19c7034ca..18db45c8e4 100644 --- a/slirp/slirp_config.h +++ b/slirp/slirp_config.h @@ -85,9 +85,6 @@ /* Define if the machine is big endian */ //#undef HOST_WORDS_BIGENDIAN -/* Define if your sprintf returns char * instead of int */ -#undef BAD_SPRINTF - /* Define if you have readv */ #undef HAVE_READV @@ -97,9 +94,6 @@ #define DECLARE_IOVEC #endif -/* Define if a declaration of sprintf/fprintf is needed */ -#undef DECLARE_SPRINTF - /* Define if you have a POSIX.1 sys/wait.h */ #undef HAVE_SYS_WAIT_H |