summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorrsc <rsc>2009-05-31 02:07:51 +0000
committerrsc <rsc>2009-05-31 02:07:51 +0000
commitf3685aa391431d5eafbc918e1d143dd731c64787 (patch)
tree729cd8f2c7788e5fb87c84a3748760b5fd87e06b /file.h
parent7f399ccaa4fb14527238be333fab207ae3a57856 (diff)
downloadxv6-labs-f3685aa391431d5eafbc918e1d143dd731c64787.tar.gz
xv6-labs-f3685aa391431d5eafbc918e1d143dd731c64787.tar.bz2
xv6-labs-f3685aa391431d5eafbc918e1d143dd731c64787.zip
simplify
Diffstat (limited to 'file.h')
-rw-r--r--file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.h b/file.h
index 99f0122..1d56145 100644
--- a/file.h
+++ b/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;