summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2014-12-04 16:47:15 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2014-12-04 17:39:08 +0100
commit2d7bf3ed7fd66940bd228e8516d9b56cd607094f (patch)
tree28094e6d03e6deb86f037f677031379f70f158af
parent7566c5b3ad47b0b487e15b58d72e151882d05541 (diff)
vdi-dev: mark as deprecated
This interface has long been deprecated, and I don't know of any user. Perhaps the header could even be removed from spice-protocol?
-rw-r--r--spice/vdi_dev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spice/vdi_dev.h b/spice/vdi_dev.h
index 8e0eec9..def88fc 100644
--- a/spice/vdi_dev.h
+++ b/spice/vdi_dev.h
@@ -37,6 +37,10 @@
#include <spice/start-packed.h>
+#ifndef SPICE_DISABLE_DEPRECATED
+#error "This SPICE interface is deprecated"
+#endif
+
#define REDHAT_PCI_VENDOR_ID 0x1b36
#define VDI_PORT_DEVICE_ID 0x0105