Remove ODP_DEPRECATED macro as it depends on (GCC) compiler type
attribute, which may not be supported (the same way) by all
compilers. Also the attribute works only for types, but not e.g.
for fields of structure.

A new configuration option will be added to control deprecated
definitions.

Signed-off-by: Petri Savolainen <[email protected]>
---
 include/odp/api/spec/hints.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/odp/api/spec/hints.h b/include/odp/api/spec/hints.h
index 82400f0..a763645 100644
--- a/include/odp/api/spec/hints.h
+++ b/include/odp/api/spec/hints.h
@@ -52,11 +52,6 @@ extern "C" {
 #define ODP_PRINTF_FORMAT(x, y) __attribute__((format(printf, (x), (y))))
 
 /**
- * Indicate deprecated variables, functions or types
- */
-#define ODP_DEPRECATED __attribute__((__deprecated__))
-
-/**
  * Intentionally unused variables of functions
  */
 #define ODP_UNUSED     __attribute__((__unused__))
-- 
2.8.1

Reply via email to