Add -fno-common compile option
[vpp.git] / src / vnet / l2 / l2_learn.h
index c107145..58e19ba 100644 (file)
@@ -52,7 +52,7 @@ extern l2learn_main_t l2learn_main;
 
 extern vlib_node_registration_t l2fib_mac_age_scanner_process_node;
 
-enum
+typedef enum
 {
   L2_MAC_AGE_PROCESS_EVENT_START = 1,
   L2_MAC_AGE_PROCESS_EVENT_STOP = 2,