summaryrefslogtreecommitdiff
path: root/lib/librte_eal/common/eal_common_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_eal/common/eal_common_log.c')
-rw-r--r--lib/librte_eal/common/eal_common_log.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/librte_eal/common/eal_common_log.c b/lib/librte_eal/common/eal_common_log.c
index 8181189..c714a4b 100644
--- a/lib/librte_eal/common/eal_common_log.c
+++ b/lib/librte_eal/common/eal_common_log.c
@@ -335,9 +335,7 @@ static const struct logtype logtype_strings[] = {
};
/* Logging should be first initializer (before drivers and bus) */
-RTE_INIT_PRIO(rte_log_init, LOG);
-static void
-rte_log_init(void)
+RTE_INIT_PRIO(rte_log_init, LOG)
{
uint32_t i;