mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
chardev/spice: make qemu_chr_open_spice_port static
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20201014121120.13482-4-kraxel@redhat.com
This commit is contained in:
parent
e220cf8662
commit
70122d6230
2 changed files with 4 additions and 7 deletions
|
|
@ -296,7 +296,7 @@ static void qemu_chr_open_spice_vmc(Chardev *chr,
|
|||
chr_open(chr, type);
|
||||
}
|
||||
|
||||
void qemu_chr_open_spice_port(Chardev *chr,
|
||||
static void qemu_chr_open_spice_port(Chardev *chr,
|
||||
ChardevBackend *backend,
|
||||
bool *be_opened,
|
||||
Error **errp)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,4 @@ typedef struct SpiceChardev SpiceChardev;
|
|||
DECLARE_INSTANCE_CHECKER(SpiceChardev, SPICE_CHARDEV,
|
||||
TYPE_CHARDEV_SPICE)
|
||||
|
||||
void qemu_chr_open_spice_port(Chardev *chr, ChardevBackend *backend,
|
||||
bool *be_opened, Error **errp);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue