Browse Source

Deprecate LFS_F_OPENED and use lfs_mlist_isused instead

Instead of additional flag, we can just go through the mlist.
Noah Gorny 5 years ago
parent
commit
2874394a1c
2 changed files with 237 additions and 71 deletions
  1. 237 70
      lfs.c
  2. 0 1
      lfs.h

File diff suppressed because it is too large
+ 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

Some files were not shown because too many files changed in this diff