f04519d809
Exported header files for use by applications should be self sufficient and allow out of order inclusion. Moreover, they must include all the system headers they need for types and macros. This commit prevents the following errors: error: `RTE_MAX_LCORE' undeclared here (not in a function) error: `RTE_LPM_VALID_EXT_ENTRY_BITMASK' undeclared (first use in this function) error: #error "Unsupported cache line size" error: `asm' undeclared (first use in this function) error: implicit declaration of function `[...]' error: unknown type name `[...]' error: field `mac_addr' has incomplete type error: `CHAR_BIT' undeclared here (not in a function) error: `struct [...]' declared inside parameter list error: unknown type name `uint8_t' Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> |
||
---|---|---|
.. | ||
Makefile | ||
rte_approx.c | ||
rte_approx.h | ||
rte_bitmap.h | ||
rte_reciprocal.c | ||
rte_reciprocal.h | ||
rte_red.c | ||
rte_red.h | ||
rte_sched_common.h | ||
rte_sched_version.map | ||
rte_sched.c | ||
rte_sched.h |