ofp-msgs: Move most OpenFlow header definitions here.
[cascardo/ovs.git] / lib / guarded-list.h
index c19f64e..3e46d51 100644 (file)
@@ -28,9 +28,9 @@ struct guarded_list {
     size_t n;
 };
 
-#define GUARDED_LIST_INITIALIZER(LIST) { \
+#define GUARDED_OVS_LIST_INITIALIZER(LIST) { \
     .mutex = OVS_MUTEX_INITIALIZER, \
-    .list = LIST_INITIALIZER(&((LIST)->list)), \
+    .list = OVS_LIST_INITIALIZER(&((LIST)->list)), \
     .n = 0 }
 
 void guarded_list_init(struct guarded_list *);