summaryrefslogtreecommitdiff
path: root/libtrivfs/cntl-clean.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-25 21:19:44 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-25 21:19:44 +0000
commit0121c056f3afb6e3c1abd41370c5743772c87f03 (patch)
treeb06ce9d9de7d92f9f3ea258eb638b44dadfec748 /libtrivfs/cntl-clean.c
parent3a75fd00e92c68bcf83002acbbac4ab0d2817c65 (diff)
entered into RCS
Diffstat (limited to 'libtrivfs/cntl-clean.c')
-rw-r--r--libtrivfs/cntl-clean.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libtrivfs/cntl-clean.c b/libtrivfs/cntl-clean.c
index 24fe7354..18d62201 100644
--- a/libtrivfs/cntl-clean.c
+++ b/libtrivfs/cntl-clean.c
@@ -15,12 +15,14 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include "priv.h"
+
/* Clean pointers in a struct trivfs_control when its last reference
vanishes before it's freed. */
void
-trivfs_clean_control (void *arg)
+trivfs_clean_cntl (void *arg)
{
- struct trivfs_control *cntl;
+ struct trivfs_control *cntl = arg;
mach_port_deallocate (mach_task_self (), cntl->underlying);
}