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 /example/generator/odp_generator.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 'example/generator/odp_generator.c')
-rw-r--r-- | example/generator/odp_generator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8393244e4..3fea112d0 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -13,6 +13,7 @@ #include <stdlib.h> #include <getopt.h> #include <unistd.h> +#include <inttypes.h> #include <sys/time.h> #include <example_debug.h> |