summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-11 23:38:09 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-11 23:38:09 +0000
commitc159a059bdc152931e22f2e86553acb25c78183a (patch)
treebcef5c40fbde6952bd60e0e139bdceb52de2fa09 /node.h
parent7993b3db57070ec6b37bdac13f9edf9362861f16 (diff)
Fix build against libpthread
* Makefile.am (nsmux_LDADD): Link against libpthread instead of libthreads. * nsmux.h: Include <pthread.h> instead of <cthreads.h> * lnode.h: Use pthread type instead of cthreads structure. * node.h: Likewise. * ncache.h: Likewise. * lnode.c: Use pthread functions instead of cthreads functions. * node.c: Likewise. * ncache.c: Likewise. * nsmux.c: Likewise.
Diffstat (limited to 'node.h')
-rw-r--r--node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.h b/node.h
index d930a3b69..3d4aac44f 100644
--- a/node.h
+++ b/node.h
@@ -106,7 +106,7 @@ typedef struct node_dirent node_dirent_t;
/*---------------------------------------------------------------------------*/
/*--------Global Variables---------------------------------------------------*/
/*The lock protecting the underlying filesystem*/
-extern struct mutex ulfs_lock;
+extern pthread_mutex_t ulfs_lock;
/*---------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/