summaryrefslogtreecommitdiff
path: root/include/qemu/main-loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/main-loop.h')
-rw-r--r--include/qemu/main-loop.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/qemu/main-loop.h b/include/qemu/main-loop.h
index 470f600bb..19b5de3dd 100644
--- a/include/qemu/main-loop.h
+++ b/include/qemu/main-loop.h
@@ -23,7 +23,7 @@
*/
#ifndef QEMU_MAIN_LOOP_H
-#define QEMU_MAIN_LOOP_H
+#define QEMU_MAIN_LOOP_H 1
#include "block/aio.h"
@@ -64,11 +64,11 @@ int qemu_init_main_loop(Error **errp);
*
* void enter_co_bh(void *opaque) {
* QEMUCoroutine *co = opaque;
- * qemu_coroutine_enter(co);
+ * qemu_coroutine_enter(co, NULL);
* }
*
* ...
- * QEMUCoroutine *co = qemu_coroutine_create(coroutine_entry, NULL);
+ * QEMUCoroutine *co = qemu_coroutine_create(coroutine_entry);
* QEMUBH *start_bh = qemu_bh_new(enter_co_bh, co);
* qemu_bh_schedule(start_bh);
* while (...) {