浏览代码

Deprecate LFS_F_OPENED and use lfs_mlist_isused instead

Instead of additional flag, we can just go through the mlist.
Noah Gorny 5 年之前
父节点
当前提交
2874394a1c
共有 2 个文件被更改,包括 237 次插入71 次删除
  1. 237 70
      lfs.c
  2. 0 1
      lfs.h

文件差异内容过多而无法显示
+ 237 - 70
lfs.c


+ 0 - 1
lfs.h

@@ -143,7 +143,6 @@ enum lfs_open_flags {
     LFS_F_ERRED   = 0x080000, // An error occurred during write
 #endif
     LFS_F_INLINE  = 0x100000, // Currently inlined in directory entry
-    LFS_F_OPENED  = 0x200000, // File has been opened
 };
 
 // File seek flags

部分文件因为文件数量过多而无法显示