Re: [dpdk-dev] [PATCH v7 00/10] add checking of header includes

2021-01-29 Thread David Marchand
On Fri, Jan 29, 2021 at 5:48 PM Bruce Richardson wrote: > > As a general principle, each header file should include any other > headers it needs to provide data type definitions or macros. For > example, any header using the uintX_t types in structures or function > prototypes should include "stdi

[dpdk-dev] [PATCH v7 00/10] add checking of header includes

2021-01-29 Thread Bruce Richardson
As a general principle, each header file should include any other headers it needs to provide data type definitions or macros. For example, any header using the uintX_t types in structures or function prototypes should include "stdint.h" to provide those type definitions. In practice, while many,