Re: [dpdk-dev] [PATCH] lib: remove C++ include guard from private headers

2021-09-22 Thread Thomas Monjalon
15/09/2021 18:46, Thomas Monjalon: > The private headers are compiled internally with a C compiler. > Thus extern "C" declaration is useless in such files. > > Signed-off-by: Thomas Monjalon Applied

Re: [dpdk-dev] [PATCH] lib: remove C++ include guard from private headers

2021-09-15 Thread Stephen Hemminger
On Wed, 15 Sep 2021 18:46:35 +0200 Thomas Monjalon wrote: > The private headers are compiled internally with a C compiler. > Thus extern "C" declaration is useless in such files. > > Signed-off-by: Thomas Monjalon > --- Makes sense, make sure it doesn't break Windows builds. There is not a C++

[dpdk-dev] [PATCH] lib: remove C++ include guard from private headers

2021-09-15 Thread Thomas Monjalon
The private headers are compiled internally with a C compiler. Thus extern "C" declaration is useless in such files. Signed-off-by: Thomas Monjalon --- lib/acl/acl_vect.h| 8 lib/acl/tb_mem.h | 8 lib/bpf/bpf_def.h |