summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-06 18:43:45 +0000
committerrsc <rsc>2006-09-06 18:43:45 +0000
commit50e514be986e4d5b136879d1221b721b17493a78 (patch)
tree02143f4bb428485d156c4671b35e31180aa5822c /defs.h
parent9936bffa45c928ead9660a0df32d08a50b2b09c2 (diff)
downloadxv6-labs-50e514be986e4d5b136879d1221b721b17493a78.tar.gz
xv6-labs-50e514be986e4d5b136879d1221b721b17493a78.tar.bz2
xv6-labs-50e514be986e4d5b136879d1221b721b17493a78.zip
fd_* => file_*
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/defs.h b/defs.h
index 1491a8e..e05782d 100644
--- a/defs.h
+++ b/defs.h
@@ -92,14 +92,14 @@ int pipe_read(struct pipe*, char*, int);
// fd.c
struct stat;
-void fd_init(void);
-int fd_ualloc(void);
-struct file* fd_alloc(void);
-void fd_close(struct file*);
-int fd_read(struct file*, char*, int n);
-int fd_write(struct file*, char*, int n);
-int fd_stat(struct file*, struct stat*);
-void fd_incref(struct file*);
+void fileinit(void);
+int fdalloc(void);
+struct file* filealloc(void);
+void fileclose(struct file*);
+int fileread(struct file*, char*, int n);
+int filewrite(struct file*, char*, int n);
+int filestat(struct file*, struct stat*);
+void fileincref(struct file*);
// ide.c
void ide_init(void);