[PATCH 4/5] dix: Add warning about deprecation in mibstore.h

Daniel Martin consume.noise at gmail.com
Sat Aug 25 16:43:48 PDT 2012


Add a #warning compiler directive that mibstore.h is deprecated.
---
 mi/mibstore.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mi/mibstore.h b/mi/mibstore.h
index f8ed444..3439e48 100644
--- a/mi/mibstore.h
+++ b/mi/mibstore.h
@@ -16,6 +16,8 @@
 #ifndef _MIBSTORE_H
 #define _MIBSTORE_H
 
+#warning "mibstore.h is deprecated. Do not include it and remove any call to miInitializeBackingStore()."
+
 #include "screenint.h"
 
 #define miInitializeBackingStore(x) do {} while (0)
-- 
1.7.12



More information about the xorg-devel mailing list