Peter Maydell de5f852f38 main_loop: Make main_loop_wait() return void
The last users of main_loop_wait() that cared about the return value
have now been changed to no longer use it. Drop the now-useless return
value and make the function return void.

We avoid the awkwardness of ifdeffery to handle the 'ret'
variable in main_loop_wait() only being wanted if CONFIG_SLIRP
by simply dropping all the ifdefs. There are stub implementations
of slirp_pollfds_poll() and slirp_pollfds_fill() already in
stubs/slirp.c which do nothing, as required.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <1498584769-12439-3-git-send-email-peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-07-04 14:39:28 +02:00
..
2016-06-07 18:19:23 +03:00
2016-10-26 08:29:01 -07:00
2016-11-01 10:29:03 -06:00
2016-02-23 12:43:05 +00:00
2017-03-07 16:07:46 +01:00
2017-06-19 11:10:59 -07:00
2016-06-16 18:39:03 +02:00
2017-01-24 23:26:52 +03:00
2017-01-24 17:54:47 +00:00
2016-06-07 18:19:24 +03:00
2017-06-16 07:55:00 +08:00
2016-02-23 12:43:05 +00:00
2016-02-23 12:43:05 +00:00
2017-06-13 14:56:59 +01:00
2017-06-23 11:51:50 +02:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2017-01-24 23:26:52 +03:00