diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2016-07-04 18:42:25 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-07-05 15:09:30 +0300 |
commit | d1d06aa241b97e2f1919ee990168a21319a66143 (patch) | |
tree | 61ece42b34c19ecc0692087a9ef179e287037016 /platform/linux-generic/odp_timer_wheel.c | |
parent | c2784fbafbf8a29b6daa48429133e25b777536cf (diff) |
linux-gen: std_types: remove extra c headers
Removed C header includes which are not needed for API
definitions. ODP API depends on uint64_t, etc types in
stdint.h, but not other C headers. As an exception,
stdbool.h remains since 'true' and 'false' definitions
may be used with odp_bool_t. It could be also removed
later since true/false are not part of the API (where as
uint64_t, etc types).
Application needs to include other C library headers
directly. ODP API does not specify which headers are included
by odp_api.h.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/odp_timer_wheel.c')
-rw-r--r-- | platform/linux-generic/odp_timer_wheel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linux-generic/odp_timer_wheel.c b/platform/linux-generic/odp_timer_wheel.c index 865dd7ed6..f2c802a85 100644 --- a/platform/linux-generic/odp_timer_wheel.c +++ b/platform/linux-generic/odp_timer_wheel.c @@ -10,6 +10,7 @@ #include <string.h> #include <malloc.h> #include <stdio.h> +#include <inttypes.h> #include <odp_timer_wheel_internal.h> #include <odp_traffic_mngr_internal.h> #include <odp_debug_internal.h> |