diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-12-08 13:11:49 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 08:17:30 -0600 |
commit | 239a69680c825608edccf064568a0f1582084760 (patch) | |
tree | 475ffa8d71e421538615f0f1c7c42d907c408d42 | |
parent | f4f1df70f2e0d177080a4a3b8cc6cbd47d751a7e (diff) |
un-static qemu_chr_parse_compat()
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 33521634bf15996e020c51c47abaaa68e27bf356)
-rw-r--r-- | qemu-char.c | 2 | ||||
-rw-r--r-- | qemu-char.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/qemu-char.c b/qemu-char.c index da5c15c4f9..c6008c395a 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2231,7 +2231,7 @@ static CharDriverState *qemu_chr_open_socket(QemuOpts *opts) return NULL; } -static QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename) +QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename) { char host[65], port[33], width[8], height[8]; int pos; diff --git a/qemu-char.h b/qemu-char.h index 9957db1f58..7fa8e5cc15 100644 --- a/qemu-char.h +++ b/qemu-char.h @@ -69,6 +69,7 @@ struct CharDriverState { QTAILQ_ENTRY(CharDriverState) next; }; +QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename); CharDriverState *qemu_chr_open_opts(QemuOpts *opts, void (*init)(struct CharDriverState *s)); CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s)); |