From 4816ae58d211df52c0f576dce0773369feaeb380 Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Thu, 5 Mar 2020 18:57:59 +0100 Subject: [PATCH] foreign-menu: mark as deprecated This patch deprecates this interface and suggests to drop it in the next release. I don't know any user for this interface in the past 5 years. Spice clients like remote-viewer do use oVirt API for foreign menu. Signed-off-by: Victor Toso Acked-by: Frediano Ziglio --- spice/foreign_menu_prot.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spice/foreign_menu_prot.h b/spice/foreign_menu_prot.h index 44f88a2..65b0fd1 100644 --- a/spice/foreign_menu_prot.h +++ b/spice/foreign_menu_prot.h @@ -22,6 +22,10 @@ #include #include +#ifndef SPICE_DISABLE_DEPRECATED +#error "This SPICE interface is deprecated" +#endif + #define FOREIGN_MENU_MAGIC SPICE_MAGIC_CONST("FRGM") #define FOREIGN_MENU_VERSION 1