aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-13 10:30:52 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2011-10-21 18:14:30 +0200
commitd57f1f6e85c3efcd0f871d4c9b4864070169d34b (patch)
tree4bca78918f594494f0f694026985e60864c52d0d
parent9cb0e8129b9e416edad6da4057edf2d4256314e5 (diff)
downloadslirp-1.0-rc3.zip
slirp-1.0-rc3.tar.gz
slirp-1.0-rc3.tar.bz2
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--libslirp.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/libslirp.h b/libslirp.h
index ef253f9..6ee804d 100644
--- a/libslirp.h
+++ b/libslirp.h
@@ -3,8 +3,6 @@
#include "qemu-common.h"
-#ifdef CONFIG_SLIRP
-
struct Slirp;
typedef struct Slirp Slirp;
@@ -43,17 +41,4 @@ void slirp_socket_recv(Slirp *slirp, struct in_addr guest_addr, int guest_port,
size_t slirp_socket_can_recv(Slirp *slirp, struct in_addr guest_addr,
int guest_port);
-#else /* !CONFIG_SLIRP */
-
-static inline void slirp_select_fill(int *pnfds, fd_set *readfds,
- fd_set *writefds, fd_set *xfds)
-{
-}
-
-static inline void slirp_select_poll(fd_set *readfds, fd_set *writefds,
- fd_set *xfds, int select_error)
-{
-}
-#endif /* !CONFIG_SLIRP */
-
#endif