eal: deprecate rte_snprintf
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 24 Jun 2014 18:15:28 +0000 (11:15 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 27 Jun 2014 00:31:24 +0000 (02:31 +0200)
commit6f41fe75e2dd8dd38f7bea7b9501edd4f9b72fa5
tree38546261dbaf75edcf31bc3ccdad61f84f666590
parente8ed6c78177fbbafa326d9efc590a51705848200
eal: deprecate rte_snprintf

The function rte_snprintf serves no useful purpose. It is the
same as snprintf() for all valid inputs. Deprecate it and
replace all uses in current code.

Leave the tests for the deprecated function in place.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
110 files changed:
app/test-pipeline/init.c
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/parameters.c
app/test-pmd/testpmd.h
app/test/Makefile
app/test/process.h
app/test/test_cmdline_cirbuf.c
app/test/test_cmdline_etheraddr.c
app/test/test_cmdline_ipaddr.c
app/test/test_cmdline_num.c
app/test/test_cmdline_string.c
app/test/test_eal_flags.c
app/test/test_eal_fs.c
app/test/test_errno.c
app/test/test_func_reentrancy.c
app/test/test_hash_perf.c
app/test/test_ivshmem.c
app/test/test_kni.c
app/test/test_malloc.c
app/test/test_mp_secondary.c
app/test/test_power.c
app/test/test_table.c
app/test/test_table_acl.c
examples/cmdline/commands.c
examples/cmdline/parse_obj_list.c
examples/dpdk_qat/crypto.c
examples/dpdk_qat/main.c
examples/exception_path/main.c
examples/ip_fragmentation/main.c
examples/ip_pipeline/config.c
examples/ip_pipeline/init.c
examples/ip_reassembly/main.c
examples/kni/main.c
examples/l2fwd-ivshmem/host/host.c
examples/l3fwd-acl/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/main.c
examples/load_balancer/config.c
examples/load_balancer/init.c
examples/multi_process/client_server_mp/mp_server/main.c
examples/multi_process/client_server_mp/shared/common.h
examples/multi_process/simple_mp/mp_commands.c
examples/multi_process/symmetric_mp/main.c
examples/netmap_compat/bridge/bridge.c
examples/netmap_compat/lib/compat_netmap.c
examples/qos_sched/args.c
examples/qos_sched/cfg_file.c
examples/qos_sched/init.c
examples/quota_watermark/qw/init.c
examples/vhost/main.c
examples/vhost/vhost-net-cdev.c
examples/vhost/virtio-net.c
examples/vhost_xen/main.c
examples/vhost_xen/vhost_monitor.c
examples/vhost_xen/xenstore_parse.c
lib/librte_acl/rte_acl.c
lib/librte_acl/rte_acl_osdep_alone.h
lib/librte_cfgfile/rte_cfgfile.c
lib/librte_cmdline/cmdline.c
lib/librte_cmdline/cmdline_parse.c
lib/librte_cmdline/cmdline_parse_etheraddr.c
lib/librte_cmdline/cmdline_parse_ipaddr.c
lib/librte_cmdline/cmdline_parse_num.c
lib/librte_cmdline/cmdline_parse_portlist.c
lib/librte_cmdline/cmdline_parse_string.c
lib/librte_distributor/rte_distributor.c
lib/librte_eal/bsdapp/eal/eal_memory.c
lib/librte_eal/bsdapp/eal/eal_pci.c
lib/librte_eal/bsdapp/eal/include/eal_filesystem.h
lib/librte_eal/common/eal_common_errno.c
lib/librte_eal/common/eal_common_hexdump.c
lib/librte_eal/common/eal_common_memzone.c
lib/librte_eal/common/include/rte_string_fns.h
lib/librte_eal/linuxapp/eal/eal_hugepage_info.c
lib/librte_eal/linuxapp/eal/eal_ivshmem.c
lib/librte_eal/linuxapp/eal/eal_lcore.c
lib/librte_eal/linuxapp/eal/eal_memory.c
lib/librte_eal/linuxapp/eal/eal_pci.c
lib/librte_eal/linuxapp/eal/eal_pci_uio.c
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c
lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c
lib/librte_eal/linuxapp/eal/eal_xen_memory.c
lib/librte_eal/linuxapp/eal/include/eal_filesystem.h
lib/librte_hash/rte_fbk_hash.c
lib/librte_hash/rte_hash.c
lib/librte_ivshmem/rte_ivshmem.c
lib/librte_kni/rte_kni.c
lib/librte_lpm/rte_lpm.c
lib/librte_lpm/rte_lpm6.c
lib/librte_malloc/malloc_heap.c
lib/librte_mempool/rte_dom0_mempool.c
lib/librte_mempool/rte_mempool.c
lib/librte_pipeline/rte_pipeline.c
lib/librte_pmd_e1000/em_rxtx.c
lib/librte_pmd_e1000/igb_rxtx.c
lib/librte_pmd_i40e/i40e_ethdev.c
lib/librte_pmd_i40e/i40e_rxtx.c
lib/librte_pmd_ixgbe/ixgbe_rxtx.c
lib/librte_pmd_ring/rte_eth_ring.c
lib/librte_pmd_virtio/virtio_ethdev.c
lib/librte_pmd_virtio/virtio_rxtx.c
lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c
lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c
lib/librte_pmd_xenvirt/rte_eth_xenvirt.c
lib/librte_pmd_xenvirt/rte_xen_lib.c
lib/librte_power/rte_power.c
lib/librte_ring/rte_ring.c
lib/librte_table/rte_table_acl.c