meter: remove inline functions from export list
authorFady Bader <fady@mellanox.com>
Wed, 17 Jun 2020 08:24:31 +0000 (11:24 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 23 Jun 2020 17:29:41 +0000 (19:29 +0200)
commitf6da77d92ddc76bb5bd0ea9bf4ff044c9fde1a9b
tree0eaa243a11f12db67dd378274be5d87818005cd0
parent540fbc27869bf9c3c37319f4df4372e23f0d1d6a
meter: remove inline functions from export list

The code didn't compile when using exported meter functions under Windows.

error LNK2001: unresolved external symbol
rte_meter_srtcm_color_aware_check
error LNK2001: unresolved external symbol
rte_meter_srtcm_color_blind_check
error LNK2001: unresolved external symbol
rte_meter_trtcm_color_aware_check
error LNK2001: unresolved external symbol
rte_meter_trtcm_color_blind_check
error LNK2001: unresolved external symbol
rte_meter_trtcm_rfc4115_color_aware_check
error LNK2001: unresolved external symbol
rte_meter_trtcm_rfc4115_color_blind_check

The cause was that there were some inline functions that were included in
the export list.
To solve this the functions were removed from rte_meter_version.map export
list which are implemented in the header and shouldn't be exported.

Fixes: 655796d2b5fb ("meter: support RFC4115 trTCM")
Fixes: 9d41beed24b0 ("lib: provide initial versioning")
Cc: stable@dpdk.org
Signed-off-by: Fady Bader <fady@mellanox.com>
lib/librte_meter/rte_meter_version.map