aboutsummaryrefslogtreecommitdiff
path: root/slirp/misc.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-10-13 18:52:23 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-11-10 13:49:20 +0000
commit036208c9ab50b0910c24b28a440c15e66e8a2652 (patch)
tree99960664f0a5c19e317a8ebf4e0c79e0bf4b3e0a /slirp/misc.c
parente62774c41006bc8072579515b9f6782b56c33bd1 (diff)
downloadqemu-036208c9ab50b0910c24b28a440c15e66e8a2652.zip
qemu-036208c9ab50b0910c24b28a440c15e66e8a2652.tar.gz
qemu-036208c9ab50b0910c24b28a440c15e66e8a2652.tar.bz2
slirp: remove unused function u_sleep
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'slirp/misc.c')
-rw-r--r--slirp/misc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/slirp/misc.c b/slirp/misc.c
index 0bee864..664532a 100644
--- a/slirp/misc.c
+++ b/slirp/misc.c
@@ -253,20 +253,6 @@ void lprint(const char *format, ...)
va_end(args);
}
-void
-u_sleep(int usec)
-{
- struct timeval t;
- fd_set fdset;
-
- FD_ZERO(&fdset);
-
- t.tv_sec = 0;
- t.tv_usec = usec * 1000;
-
- select(0, &fdset, &fdset, &fdset, &t);
-}
-
void slirp_connection_info(Slirp *slirp, Monitor *mon)
{
const char * const tcpstates[] = {