diff mbox series

[API-NEXT,1/4] api: hints: remove ODP_DEPRECATED from API

Message ID 1487859248-23273-1-git-send-email-petri.savolainen@linaro.org
State New
Headers show
Series [API-NEXT,1/4] api: hints: remove ODP_DEPRECATED from API | expand

Commit Message

Petri Savolainen Feb. 23, 2017, 2:14 p.m. UTC
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 <petri.savolainen@linaro.org>

---
 include/odp/api/spec/hints.h | 5 -----
 1 file changed, 5 deletions(-)

-- 
2.8.1
diff mbox series

Patch

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__))