aboutsummaryrefslogtreecommitdiff
path: root/include/char/char.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/char/char.h')
-rw-r--r--include/char/char.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/char/char.h b/include/char/char.h
index baa5d035fd..1952a10063 100644
--- a/include/char/char.h
+++ b/include/char/char.h
@@ -89,7 +89,8 @@ struct CharDriverState {
* Returns: a new character backend
*/
CharDriverState *qemu_chr_new_from_opts(QemuOpts *opts,
- void (*init)(struct CharDriverState *s));
+ void (*init)(struct CharDriverState *s),
+ Error **errp);
/**
* @qemu_chr_new: