From 51716a869c2e596b43dcc9d030a6626b29cf4829 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 16 Jul 2006 01:49:03 +0000 Subject: Rename fd_reference to more suggestive fd_incref. (Fd_reference sounds like it might just return the ref count.) --- fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fd.c') diff --git a/fd.c b/fd.c index 0f7028f..b34f313 100644 --- a/fd.c +++ b/fd.c @@ -99,7 +99,7 @@ fd_close(struct fd *fd) } void -fd_reference(struct fd *fd) +fd_incref(struct fd *fd) { acquire(&fd_table_lock); if(fd->count < 1 || fd->type == FD_CLOSED) -- cgit v1.2.3