fib: fix headers for C++ support
authorAsim Jamshed <asim.jamshed@gmail.com>
Mon, 16 Mar 2020 18:42:36 +0000 (18:42 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 10 Apr 2020 09:00:47 +0000 (05:00 -0400)
commit44415a62e6c64af014d935f13e099b17b4ad4893
tree61f969840bad147a99b3f4eea6ed35920fe3c3bd
parent254e11c66a53d13d0ffd78af54091a1a9b748f6b
fib: fix headers for C++ support

This patch allows C++ programs to use librte_fib library routines.
Previously C++ programs were not able to link this library and programs
would fail to get linked. With this patch compilation and linking
will be successful.

Fixes: 39e927248416 ("fib: add FIB library")
Fixes: 40d41a8a7b34 ("fib: support IPv6")
Cc: stable@dpdk.org
Signed-off-by: Asim Jamshed <asim.jamshed@gmail.com>
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
lib/librte_fib/rte_fib.h
lib/librte_fib/rte_fib6.h