diff options
author | Gerd Hoffmann | 2020-10-14 14:11:16 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2020-10-15 11:14:40 +0200 |
commit | 70122d62302c97bcd205956a544b8e79f2a4a50f (patch) | |
tree | 3a556bcd54391eb68b53280ecb3433e29282bdd7 /chardev | |
parent | ui/spice-app: don't use qemu_chr_open_spice_port directly (diff) | |
download | qemu-70122d62302c97bcd205956a544b8e79f2a4a50f.tar.gz qemu-70122d62302c97bcd205956a544b8e79f2a4a50f.tar.xz qemu-70122d62302c97bcd205956a544b8e79f2a4a50f.zip |
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
Diffstat (limited to 'chardev')
-rw-r--r-- | chardev/spice.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chardev/spice.c b/chardev/spice.c index bf7ea1e294..051c23a84f 100644 --- a/chardev/spice.c +++ b/chardev/spice.c @@ -296,10 +296,10 @@ static void qemu_chr_open_spice_vmc(Chardev *chr, chr_open(chr, type); } -void qemu_chr_open_spice_port(Chardev *chr, - ChardevBackend *backend, - bool *be_opened, - Error **errp) +static void qemu_chr_open_spice_port(Chardev *chr, + ChardevBackend *backend, + bool *be_opened, + Error **errp) { ChardevSpicePort *spiceport = backend->u.spiceport.data; const char *name = spiceport->fqdn; |