diff options
author | Stanislaw Kardach <skardach@marvell.com> | 2020-07-29 16:23:35 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2020-09-03 12:34:25 +0300 |
commit | f702e657c79b5407651d8b8a1072a5f8b8d11287 (patch) | |
tree | 944b4157b054bdede78626185766524d26a1a106 /include | |
parent | f529a053faba5eda2e2ad630f04e4d5f05bf2d2a (diff) |
abi: event: fixup typedefs for doxygen
Newer doxygen (1.8.17) is treating enum <name> and typedef ... <name> as
different definitions and therefore warns about undocumented
enumerations. Therefore eliminate the unused enumeration names as only
the typedef definition exists in the API and therefore the only valid
variable definition is:
odp_event_type_t foo;
Not:
enum odp_event_type_t foo;
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/odp/api/abi-default/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/odp/api/abi-default/event.h b/include/odp/api/abi-default/event.h index 3f88681b7..c9d03735c 100644 --- a/include/odp/api/abi-default/event.h +++ b/include/odp/api/abi-default/event.h @@ -24,7 +24,7 @@ typedef _odp_abi_event_t *odp_event_t; #define ODP_EVENT_INVALID ((odp_event_t)0) -typedef enum odp_event_type_t { +typedef enum { ODP_EVENT_BUFFER = 1, ODP_EVENT_PACKET = 2, ODP_EVENT_TIMEOUT = 3, @@ -32,7 +32,7 @@ typedef enum odp_event_type_t { ODP_EVENT_IPSEC_STATUS = 5 } odp_event_type_t; -typedef enum odp_event_subtype_t { +typedef enum { ODP_EVENT_NO_SUBTYPE = 0, ODP_EVENT_PACKET_BASIC = 1, ODP_EVENT_PACKET_CRYPTO = 2, |