cmdline: avoid name clash with Windows system types
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Fri, 30 Oct 2020 01:01:26 +0000 (04:01 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 5 Nov 2020 16:49:00 +0000 (17:49 +0100)
commitc2341bb6713dcaa43113db6f8ee3dd40ae57aba7
tree57541eaeb6c639b127e67ccbf66c49c9186af489
parent924e8e1a29e59071863a985c0ed1cb1d256467b7
cmdline: avoid name clash with Windows system types

cmdline_numtype member names clash with Windows system identifiers.
Add RTE_ prefix to cmdline constants to avoid this and possible
future conflicts.

Suggested-by: Ranjit Menon <ranjit.menon@intel.com>
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Ranjit Menon <ranjit.menon@intel.com>
Acked-by: Jie Zhou <jizh@microsoft.com>
Tested-by: Jie Zhou <jizh@microsoft.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
15 files changed:
app/test-cmdline/commands.c
app/test-pmd/bpf_cmd.c
app/test-pmd/cmdline.c
app/test-pmd/cmdline_flow.c
app/test-pmd/cmdline_mtr.c
app/test-pmd/cmdline_tm.c
app/test/test_cmdline_num.c
examples/ethtool/ethtool-app/ethapp.c
examples/ipsec-secgw/parser.c
examples/qos_sched/cmdline.c
examples/vdpa/main.c
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
examples/vm_power_manager/vm_power_cli.c
lib/librte_cmdline/cmdline_parse_num.c
lib/librte_cmdline/cmdline_parse_num.h