summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorrsc <rsc>2006-07-16 01:49:03 +0000
committerrsc <rsc>2006-07-16 01:49:03 +0000
commit51716a869c2e596b43dcc9d030a6626b29cf4829 (patch)
treebb354f454bab41fa1ce9dfaffc8cfb16cd66ea15 /defs.h
parent856e1fc1ad22a24bd71c706bc06ba868e044ddc8 (diff)
downloadxv6-labs-51716a869c2e596b43dcc9d030a6626b29cf4829.tar.gz
xv6-labs-51716a869c2e596b43dcc9d030a6626b29cf4829.tar.bz2
xv6-labs-51716a869c2e596b43dcc9d030a6626b29cf4829.zip
Rename fd_reference to more suggestive fd_incref.
(Fd_reference sounds like it might just return the ref count.)
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs.h b/defs.h
index a11cc57..0288a62 100644
--- a/defs.h
+++ b/defs.h
@@ -84,7 +84,7 @@ struct fd * fd_alloc();
void fd_close(struct fd *);
int fd_read(struct fd *fd, char *addr, int n);
int fd_write(struct fd *fd, char *addr, int n);
-void fd_reference(struct fd *fd);
+void fd_incref(struct fd *fd);
// ide.c
void ide_init(void);