diff options
author | Thomas Huth <thuth@redhat.com> | 2016-05-13 09:04:30 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-05-16 20:58:47 +0200 |
commit | 5469feadb1dafc663ed5b978dc9a5ff0b1b69a6e (patch) | |
tree | 874a1770a2d766265758d6dea3a59d54a1cef9ca /slirp/slirp_config.h | |
parent | cebee21aca9ffef0248b6b6e37c4c152358241a3 (diff) | |
download | qemu-5469feadb1dafc663ed5b978dc9a5ff0b1b69a6e.zip qemu-5469feadb1dafc663ed5b978dc9a5ff0b1b69a6e.tar.gz qemu-5469feadb1dafc663ed5b978dc9a5ff0b1b69a6e.tar.bz2 |
slirp: Remove obsolete backward-compatibility cruft
The slirp code does not use index() and gethostid() anymore,
so these parts can be removed without problems.
memmove() and strerror() should be available on each of the
supported platforms nowadays, too, so these wrappers are also
not needed anymore.
And we certainly also do not support Ultrix anymore, so no
need to keep the code for this platform anymore.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/slirp_config.h')
-rw-r--r-- | slirp/slirp_config.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h index a5fa36e..c59f655 100644 --- a/slirp/slirp_config.h +++ b/slirp/slirp_config.h @@ -34,9 +34,6 @@ #define HAVE_SYS_FILIO_H #endif -/* Define if you have strerror */ -#define HAVE_STRERROR - /* Define if you have sys/bitypes.h */ #undef HAVE_SYS_BITYPES_H @@ -82,15 +79,6 @@ #define HAVE_INET_ATON #endif -/* Define if you have index() */ -#define HAVE_INDEX - -/* Define if you have memmove */ -#define HAVE_MEMMOVE - -/* Define if you have gethostid */ -#define HAVE_GETHOSTID - /* Define if you DON'T have unix-domain sockets */ #undef NO_UNIX_SOCKETS #ifdef _WIN32 |