aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/odp_sorted_list.c
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2016-07-04 18:42:25 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-07-05 15:09:30 +0300
commitd1d06aa241b97e2f1919ee990168a21319a66143 (patch)
tree61ece42b34c19ecc0692087a9ef179e287037016 /platform/linux-generic/odp_sorted_list.c
parentc2784fbafbf8a29b6daa48429133e25b777536cf (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_sorted_list.c')
-rw-r--r--platform/linux-generic/odp_sorted_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linux-generic/odp_sorted_list.c b/platform/linux-generic/odp_sorted_list.c
index 554494b88..8a1dc3ac9 100644
--- a/platform/linux-generic/odp_sorted_list.c
+++ b/platform/linux-generic/odp_sorted_list.c
@@ -10,6 +10,7 @@
#include <string.h>
#include <malloc.h>
#include <stdio.h>
+#include <inttypes.h>
#include <odp_debug_internal.h>
#include <odp_sorted_list_internal.h>