use macro to declare constructor functions
authorThomas Monjalon <thomas@monjalon.net>
Thu, 2 Nov 2017 22:06:38 +0000 (23:06 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Nov 2017 20:56:07 +0000 (21:56 +0100)
commit17715a53395c7bf27124e625d6598b28d8a1cc00
treead3789ccd83caa84bc74b352a0e233cd2fb0d131
parent6c986e1bdb10131975acaee7e94a757be8117e02
use macro to declare constructor functions

It is easier to find all constructor functions when they use
the same macros RTE_INIT or RTE_INIT_PRIO.

The macro definitions are moved from rte_eal.h to rte_common.h.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
13 files changed:
examples/performance-thread/common/lthread_diag.c
examples/performance-thread/common/lthread_sched.c
examples/performance-thread/common/lthread_tls.c
examples/performance-thread/pthread_shim/pthread_shim.c
lib/librte_acl/rte_acl.c
lib/librte_eal/common/arch/x86/rte_memcpy.c
lib/librte_eal/common/arch/x86/rte_spinlock.c
lib/librte_eal/common/eal_common_timer.c
lib/librte_eal/common/include/rte_common.h
lib/librte_eal/common/include/rte_eal.h
lib/librte_hash/rte_crc_arm64.h
lib/librte_hash/rte_hash_crc.h
lib/librte_net/rte_net_crc.c