diff options
Diffstat (limited to 'platform/linux-generic/odp_event.c')
-rw-r--r-- | platform/linux-generic/odp_event.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/linux-generic/odp_event.c b/platform/linux-generic/odp_event.c index 95be9dec2..90c3e3a3c 100644 --- a/platform/linux-generic/odp_event.c +++ b/platform/linux-generic/odp_event.c @@ -24,6 +24,7 @@ #include <odp/api/plat/event_inlines.h> #include <odp/api/plat/packet_inlines.h> #include <odp/api/plat/packet_vector_inlines.h> +#include <odp/api/plat/timer_inlines.h> odp_event_subtype_t odp_event_subtype(odp_event_t event) { @@ -70,9 +71,11 @@ void odp_event_free(odp_event_t event) case ODP_EVENT_TIMEOUT: odp_timeout_free(odp_timeout_from_event(event)); break; +#if ODP_DEPRECATED_API case ODP_EVENT_CRYPTO_COMPL: odp_crypto_compl_free(odp_crypto_compl_from_event(event)); break; +#endif case ODP_EVENT_IPSEC_STATUS: _odp_ipsec_status_free(_odp_ipsec_status_from_event(event)); break; @@ -120,8 +123,10 @@ int odp_event_is_valid(odp_event_t event) /* Fall through */ case ODP_EVENT_TIMEOUT: /* Fall through */ +#if ODP_DEPRECATED_API case ODP_EVENT_CRYPTO_COMPL: /* Fall through */ +#endif case ODP_EVENT_IPSEC_STATUS: /* Fall through */ case ODP_EVENT_PACKET_VECTOR: |