aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTuomas Taipale <tuomas.taipale@nokia.com>2023-11-16 12:23:10 +0000
committerPetri Savolainen <petri.savolainen@nokia.com>2023-12-19 11:03:15 +0200
commit66629a6516517936bac3f417bed2c4517268bbef (patch)
tree3d9e281f44c666dfa521ad07e7993e172b2b73c3 /include
parent988f0b5812d70a415d1c6fdd940c6414aec08272 (diff)
api: timer: explicitly deprecate odp_timer_set_t
Explicitly deprecate `odp_timer_set_t` with `ODP_DEPRECATE()` macro. Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include')
-rw-r--r--include/odp/api/spec/timer_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/odp/api/spec/timer_types.h b/include/odp/api/spec/timer_types.h
index 3fb656aa5..7db57c340 100644
--- a/include/odp/api/spec/timer_types.h
+++ b/include/odp/api/spec/timer_types.h
@@ -17,6 +17,7 @@
extern "C" {
#endif
+#include <odp/api/deprecated.h>
#include <odp/api/event_types.h>
#include <odp/api/std_types.h>
@@ -536,7 +537,7 @@ typedef enum {
*
* @deprecated Use odp_timer_retval_t instead.
*/
-typedef odp_timer_retval_t odp_timer_set_t;
+typedef odp_timer_retval_t ODP_DEPRECATE(odp_timer_set_t);
/**
* Timer tick information