eal: move OS common options usage functions
authorTal Shnaiderman <talshn@mellanox.com>
Mon, 29 Jun 2020 12:37:33 +0000 (15:37 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jun 2020 22:02:53 +0000 (00:02 +0200)
commit2ab745bd8f44bbc0bd8fa04af62ffc5caa61a899
treeeeb152f4c53f451fc4d249a00b56b25c30256313
parent57a2efb304775135e320acde1e0622b1190bffa9
eal: move OS common options usage functions

Move common functions between Unix and Windows to eal_common_options.c.

Those functions are getter functions for rte_application_usage_hook.

Signed-off-by: Tal Shnaiderman <talshn@mellanox.com>
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_private.h
lib/librte_eal/freebsd/eal.c
lib/librte_eal/linux/eal.c
lib/librte_eal/windows/eal.c