examples/l3fwd: share queue size variables
[dpdk.git] / lib / stack / rte_stack.c
index 10d3b2e..1fabec2 100644 (file)
@@ -3,15 +3,13 @@
  */
 
 #include <string.h>
+#include <sys/queue.h>
 
 #include <rte_string_fns.h>
-#include <rte_atomic.h>
-#include <rte_eal.h>
 #include <rte_eal_memconfig.h>
 #include <rte_errno.h>
 #include <rte_malloc.h>
 #include <rte_memzone.h>
-#include <rte_rwlock.h>
 #include <rte_tailq.h>
 
 #include "rte_stack.h"
@@ -194,4 +192,4 @@ rte_stack_lookup(const char *name)
        return r;
 }
 
-RTE_LOG_REGISTER(stack_logtype, lib.stack, NOTICE);
+RTE_LOG_REGISTER_DEFAULT(stack_logtype, NOTICE);