diff options
Diffstat (limited to 'libtrivfs/trivfs.h')
-rw-r--r-- | libtrivfs/trivfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h index bb456ffa..89023383 100644 --- a/libtrivfs/trivfs.h +++ b/libtrivfs/trivfs.h @@ -24,6 +24,7 @@ #include <mach/mach.h> #include <hurd/ports.h> #include <hurd/iohelp.h> +#include <refcount.h> struct trivfs_protid { @@ -41,14 +42,13 @@ struct trivfs_peropen { void *hook; /* for user use */ int openmodes; - int refcnt; + refcount_t refcnt; struct trivfs_control *cntl; }; struct trivfs_control { struct port_info pi; - pthread_mutex_t lock; struct port_class *protid_class; struct port_bucket *protid_bucket; mach_port_t filesys_id; |