Markus Armbruster af7f8eb591 coroutine: Move coroutine_fn to qemu/osdep.h, trim includes
block/block-hmp-cmds.h and qemu/co-shared-resource.h use coroutine_fn
without including qemu/coroutine.h.  They compile only if it's already
included from elsewhere.

I could fix that, but pulling in qemu/coroutine.h and everything it
includes just for a macro that expands into nothing feels silly.
Instead, move the macro to qemu/osdep.h.

Inclusions of qemu/coroutine.h just for coroutine_fn become
superfluous.  Drop them.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20221221131435.3851212-3-armbru@redhat.com>
2023-01-19 10:18:28 +01:00
..
2023-01-06 00:50:32 +01:00
2022-03-04 08:50:41 -10:00
2022-07-13 16:58:57 +02:00
2020-12-10 12:15:18 -05:00
2020-10-15 16:06:27 +02:00
2022-12-20 17:09:41 -08:00
2022-10-07 12:11:41 +02:00
2022-04-20 10:51:11 -07:00
2019-09-11 08:46:17 +02:00
2020-12-10 17:16:44 +01:00
2022-04-21 17:03:51 +04:00
2018-09-26 08:55:54 -07:00
2019-04-18 22:18:59 +02:00
2022-03-04 18:14:40 +01:00
Hi,
2022-10-30 18:31:59 -04:00
2018-08-24 20:26:37 +02:00
2021-04-01 15:27:44 +04:00