un-static qemu_chr_parse_compat()
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
aa40fc9c96
commit
33521634bf
|
@ -2231,7 +2231,7 @@ static CharDriverState *qemu_chr_open_socket(QemuOpts *opts)
|
||||||
return NULL;
|
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];
|
char host[65], port[33], width[8], height[8];
|
||||||
int pos;
|
int pos;
|
||||||
|
|
|
@ -69,6 +69,7 @@ struct CharDriverState {
|
||||||
QTAILQ_ENTRY(CharDriverState) next;
|
QTAILQ_ENTRY(CharDriverState) next;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename);
|
||||||
CharDriverState *qemu_chr_open_opts(QemuOpts *opts,
|
CharDriverState *qemu_chr_open_opts(QemuOpts *opts,
|
||||||
void (*init)(struct CharDriverState *s));
|
void (*init)(struct CharDriverState *s));
|
||||||
CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s));
|
CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s));
|
||||||
|
|
Loading…
Reference in a new issue