simplify
This commit is contained in:
parent
7f399ccaa4
commit
f3685aa391
3 changed files with 17 additions and 30 deletions
2
file.h
2
file.h
|
@ -1,5 +1,5 @@
|
|||
struct file {
|
||||
enum { FD_CLOSED, FD_NONE, FD_PIPE, FD_INODE } type;
|
||||
enum { FD_NONE, FD_PIPE, FD_INODE } type;
|
||||
int ref; // reference count
|
||||
char readable;
|
||||
char writable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue