瀏覽代碼

list: Fix warning

Serj Kalichev 3 年之前
父節點
當前提交
7e7bb72109
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      faux/list/private.h

+ 2 - 2
faux/list/private.h

@@ -9,8 +9,8 @@ struct faux_list_node_s {
 struct faux_list_s {
 	faux_list_node_t *head;
 	faux_list_node_t *tail;
-	bool_t sorted;
-	bool_t unique;
+	faux_list_sorted_e sorted;
+	faux_list_unique_e unique;
 	faux_list_cmp_fn cmpFn; // Function to compare two list elements
 	faux_list_kcmp_fn kcmpFn; // Function to compare key and list element
 	faux_list_free_fn freeFn; // Function to properly free data field