eal/windows: hide asprintf shim
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Sat, 10 Apr 2021 22:47:29 +0000 (01:47 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 14 Apr 2021 23:56:06 +0000 (01:56 +0200)
commit9ec521006db0f6e99e483657c06db15cd7bc0ad4
tree9b279313a821747549a1bd8ce95e20aff46a986a
parent3ab385063cb9d0b6bf28564823fe4932a559d055
eal/windows: hide asprintf shim

Make asprintf(3) implementation for Windows private to EAL, so that it's
hidden from external consumers. It is not exposed to internal consumers
either, because they don't need asprintf() and also because callers from
other modules would have no reliable way to free allocated memory.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Khoa To <khot@microsoft.com>
Acked-by: Nick Connolly <nick.connolly@mayadata.io>
Acked-by: Ranjit Menon <ranjit.menon@intel.com>
lib/librte_eal/common/eal_private.h
lib/librte_eal/windows/eal.c
lib/librte_eal/windows/include/rte_os.h