Skip to content

Commit

Permalink
Squash of LFS_READONLY cleanup
Browse files Browse the repository at this point in the history
- undef unavailable function declarations altogether
- even less code, assert on write attempts
- remove LFS_O_WRONLY and other flags when compiling with LFS_READONLY
- do not annotate #endif, as requested
- move ifdef before comments blocks, rework dangling opening bracket
- ifdef file flags that are not needed in read-only mode
- slight refactor
- ifdef LFS_F_ERRED out as well
  • Loading branch information
maximevince authored and geky committed Dec 4, 2020
1 parent 8e6826c commit 754b4c3
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 54 deletions.
Loading

0 comments on commit 754b4c3

Please sign in to comment.