aboutsummaryrefslogtreecommitdiff
path: root/src/libfs/close.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-02 19:46:12 +0000
committerrsc <devnull@localhost>2005-01-02 19:46:12 +0000
commit2600337aa704efbeba8201e88147a764b4fd2b90 (patch)
tree48d526d00a515aabde861659380cf0f393e16401 /src/libfs/close.c
parentacc021b8f8c727c0f04f33615354170fd7bccd0c (diff)
downloadplan9port-2600337aa704efbeba8201e88147a764b4fd2b90.tar.gz
plan9port-2600337aa704efbeba8201e88147a764b4fd2b90.tar.bz2
plan9port-2600337aa704efbeba8201e88147a764b4fd2b90.zip
remove libfs. now lib9pclient
Diffstat (limited to 'src/libfs/close.c')
-rw-r--r--src/libfs/close.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/libfs/close.c b/src/libfs/close.c
deleted file mode 100644
index 23388ae3..00000000
--- a/src/libfs/close.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Copyright (C) 2003 Russ Cox, Massachusetts Institute of Technology */
-/* See COPYRIGHT */
-
-#include <u.h>
-#include <libc.h>
-#include <fcall.h>
-#include <fs.h>
-#include "fsimpl.h"
-
-static void
-fidclunk(Fid *fid)
-{
- Fcall tx, rx;
-
- tx.type = Tclunk;
- tx.fid = fid->fid;
- fsrpc(fid->fs, &tx, &rx, 0);
- _fsputfid(fid);
-}
-
-void
-fsclose(Fid *fid)
-{
- /* maybe someday there will be a ref count */
- fidclunk(fid);
-}