summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-11 23:18:01 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-11 23:18:01 +0000
commit06ade0f4a6fc3f994fcf37615a96bd11e17dcc4c (patch)
tree04179cac0cf1a1cf57fcda54359c26e98f4391c3 /node.h
parenta85ac8c0d182245d75eed1136503a57ac1c3a8fa (diff)
Fix build against libpthread
* Makefile.am (filter_LDADD): Use -lpthread instead of -lthreads. * filter.h: Include <pthread.h> instead of <cthreads.h> * filter.c: Use pthread functions instead of cthreads functions. * node.h: Likewise. * node.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 f8e1f3c99..704a8badf 100644
--- a/node.h
+++ b/node.h
@@ -72,7 +72,7 @@ typedef struct node node_t;
/*---------------------------------------------------------------------------*/
/*--------Global Variables---------------------------------------------------*/
/*The lock protecting the underlying filesystem*/
-extern struct mutex ulfs_lock;
+extern pthread_mutex_t ulfs_lock;
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/