diff options
| author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:30 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:49 -0500 |
| commit | d918f23efaf486293b96418fe5deaff8a5583304 (patch) | |
| tree | 59fa071ef2883a5c1a92c305cee42864b8236b3e /net.h | |
| parent | 8ec7f4edcfcca6ef5d197f1d9323137ece5f7a89 (diff) | |
| download | focaccia-qemu-d918f23efaf486293b96418fe5deaff8a5583304.tar.gz focaccia-qemu-d918f23efaf486293b96418fe5deaff8a5583304.zip | |
slirp: Kill slirp_is_inited
Avoid the need for slirp_is_inited by refactoring the protected slirp_select_* functions. This also avoids the clearing of all fd sets on select errors. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
| -rw-r--r-- | net.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net.h b/net.h index 2cc6c13225..6702f42279 100644 --- a/net.h +++ b/net.h @@ -138,7 +138,6 @@ void net_slirp_hostfwd_add(Monitor *mon, const char *redir_str); void net_slirp_hostfwd_remove(Monitor *mon, const char *src_str); void net_slirp_redir(const char *redir_str); void net_cleanup(void); -int slirp_is_inited(void); void net_client_check(void); void net_set_boot_mask(int boot_mask); void net_host_device_add(Monitor *mon, const char *device, const char *opts); |