From 2981f214d3d00be68e1e361a940fe598c9195c13 Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Thu, 5 Mar 2020 18:47:59 +0100 Subject: controller: mark as deprecated This patch deprecates this interface and suggests to drop it in the next release. The last known user of this interface was spice-gtk, which dropped its implementation in 2017-08-01 with spice-gtk@8da3378f "build-sys: remove the spice-controller library" The commit log there has good enough justification to also drop this in the protocol. Signed-off-by: Victor Toso Acked-by: Frediano Ziglio --- spice/controller_prot.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spice/controller_prot.h b/spice/controller_prot.h index 0b0316f..9216e38 100644 --- a/spice/controller_prot.h +++ b/spice/controller_prot.h @@ -22,6 +22,10 @@ #include #include +#ifndef SPICE_DISABLE_DEPRECATED +#error "This SPICE interface is deprecated" +#endif + #define CONTROLLER_MAGIC SPICE_MAGIC_CONST("CTRL") #define CONTROLLER_VERSION 1 -- cgit v1.2.3