[spice-gtk,v2,25/33] fixup! usb-redir: add implementation of emulated CD device

Submitted by Frediano Ziglio on Aug. 9, 2019, 2:26 p.m.

Details

Message ID 20190809142651.2967-26-fziglio@redhat.com
State Superseded
Headers show
Series "CD emulation follow ups" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Frediano Ziglio Aug. 9, 2019, 2:26 p.m.
Fix compile, update function definition due to another
previous follow up of another commit.
---
 src/usb-device-cd.c | 2 +-
 src/usb-device-cd.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/usb-device-cd.c b/src/usb-device-cd.c
index b5193d1e..3c57185f 100644
--- a/src/usb-device-cd.c
+++ b/src/usb-device-cd.c
@@ -779,7 +779,7 @@  static UsbCd* usb_cd_create(SpiceUsbBackend *be,
     return d;
 }
 
-SpiceUsbBackendDevice*
+gboolean
 create_emulated_cd(SpiceUsbBackend *be,
                    CdEmulationParams *param,
                    GError **err)
diff --git a/src/usb-device-cd.h b/src/usb-device-cd.h
index eb082b78..1524dcbe 100644
--- a/src/usb-device-cd.h
+++ b/src/usb-device-cd.h
@@ -29,7 +29,7 @@  typedef struct CdEmulationParams {
     uint32_t delete_on_eject : 1;
 } CdEmulationParams;
 
-SpiceUsbBackendDevice*
+gboolean
 create_emulated_cd(SpiceUsbBackend *be,
                    CdEmulationParams *param,
                    GError **err);