Dont carry the fd around

This commit is contained in:
Kovid Goyal
2017-09-28 17:39:32 +05:30
parent c01f009e42
commit 671bcafee5
2 changed files with 6 additions and 9 deletions

View File

@@ -19,7 +19,6 @@ typedef struct {
uint8_t *buf;
size_t buf_capacity, buf_used;
int fd;
uint8_t *mapped_file;
size_t mapped_file_sz;