summaryrefslogtreecommitdiff
path: root/fd.h
diff options
context:
space:
mode:
Diffstat (limited to 'fd.h')
-rw-r--r--fd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fd.h b/fd.h
index 93f43bb..15d6b78 100644
--- a/fd.h
+++ b/fd.h
@@ -1,4 +1,4 @@
-struct fd {
+struct file {
enum { FD_CLOSED, FD_NONE, FD_PIPE, FD_FILE } type;
int ref; // reference count
char readable;
@@ -7,5 +7,3 @@ struct fd {
struct inode *ip;
uint off;
};
-
-extern struct fd fds[NFD];