service: restrict finalize to internal usage
authorHarry van Haaren <harry.van.haaren@intel.com>
Mon, 29 Jan 2018 16:37:29 +0000 (16:37 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jan 2018 18:24:45 +0000 (19:24 +0100)
commit1dd133ae073d9e2bcf6f471f3b831385aa0051c4
tree3eda72ea2548b8c83c5331617483c5b6aaad1f1c
parent8824b74d8f5ff84e5b71bf964570437bf2c5d7cf
service: restrict finalize to internal usage

This commit moves the rte_service_finalize() function
to be in the component header, and marks it as @internal.
The function is only called internally by rte_eal_finalize().

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Vipin Varghese <vipin.varghese@intel.com>
lib/librte_eal/common/include/rte_service.h
lib/librte_eal/common/include/rte_service_component.h