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 /helper/chksum.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 'helper/chksum.c')
-rw-r--r-- | helper/chksum.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helper/chksum.c b/helper/chksum.c index 859d1ec96..8f1888148 100644 --- a/helper/chksum.c +++ b/helper/chksum.c @@ -9,6 +9,8 @@ #include <odp/helper/udp.h> #include <odp/helper/tcp.h> #include <odp/helper/chksum.h> +#include <stddef.h> +#include <stdbool.h> /* The following union type is used to "view" an ordered set of bytes (either * 2 or 4) as 1 or 2 16-bit quantities - using host endian order. */ |