diff options
author | Mike Holmes <mike.holmes@linaro.org> | 2014-11-24 14:19:31 -0500 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-11-26 14:56:04 +0300 |
commit | 25cac3b6138678b2c8cfc6edd650d406164cfa32 (patch) | |
tree | fad3a3923b38f0ebaf04d4ac9a7de9d7dd4d5bb6 /example/example_debug.h | |
parent | e0411a3f3c0af88c23eb3254e56f3dd4e4f5efdb (diff) |
examples: remove the use of ODP_UNUSED
ODP_UNUSED should be used internally to an ODP implementation and not by
an application. The declaration should never have specified ODP_UNUSED for
find_ipsec_cache_entry_out()
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Reviewed-by: Ciprian Barbu <ciprian.barbu@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'example/example_debug.h')
-rw-r--r-- | example/example_debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example/example_debug.h b/example/example_debug.h index b83667c..dd3aa7f 100644 --- a/example/example_debug.h +++ b/example/example_debug.h @@ -78,6 +78,11 @@ do { \ EXAMPLE_LOG(EXAMPLE_LOG_ABORT, fmt, ##__VA_ARGS__) /** + * Intentionally unused variables to functions + */ +#define EXAMPLE_UNUSED __attribute__((__unused__)) + +/** * @} */ |