[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 07/11] slirp: remove unused function u_sleep
From: |
Blue Swirl |
Subject: |
[Qemu-trivial] [PATCH 07/11] slirp: remove unused function u_sleep |
Date: |
Sun, 14 Oct 2012 19:58:55 +0000 |
Signed-off-by: Blue Swirl <address@hidden>
---
slirp/misc.c | 14 --------------
slirp/misc.h | 1 -
2 files changed, 0 insertions(+), 15 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[] = {
diff --git a/slirp/misc.h b/slirp/misc.h
index ed40a10..cc36aeb 100644
--- a/slirp/misc.h
+++ b/slirp/misc.h
@@ -64,7 +64,6 @@ void snooze_hup(int);
void snooze(void);
void relay(int);
void add_emu(char *);
-void u_sleep(int);
void fd_nonblock(int);
void fd_block(int);
int rsh_exec(struct socket *, struct socket *, char *, char *, char *);
--
1.7.2.5
- [Qemu-trivial] [PATCH 04/11] tap-win32: avoid a warning, (continued)
- [Qemu-trivial] [PATCH 04/11] tap-win32: avoid a warning, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 05/11] m48t59: remove unused m48t59_set_addr, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 06/11] sun4c: remove unused functions, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 08/11] ppc: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 09/11] target-ppc: make some functions static, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 11/11] exec: make some functions static, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 00/11] static patches, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 07/11] slirp: remove unused function u_sleep,
Blue Swirl <=
- [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Peter Maydell, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Peter Maydell, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Peter Maydell, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/19
- Re: [Qemu-trivial] [Qemu-devel] [PATCH 10/11] arm: add missing static and remove unused functions, Andreas Färber, 2012/10/14
Re: [Qemu-trivial] [PATCH 00/11] static patches, Stefan Hajnoczi, 2012/10/19