summaryrefslogtreecommitdiff
path: root/lnode.h
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.i>2013-03-14 17:32:04 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-03-15 02:17:51 +0100
commit2961fbd036c40e8390b4af3b6f7d570d6945c86c (patch)
tree1e5e6ed1ddca29f240e3e6374d12e7703521da97 /lnode.h
parent64dfa4e12d93c13b676d1cd7d86f4f4004ebfafa (diff)
Switch from cthreads to pthreads
Makefiles, headers, types, macros and function calls are renamed where appropriate. * Makefile: Switch from cthreads to pthreads. * lib.c: Likewise. * lib.h: Likewise. * lnode.c: Likewise. * lnode.h: Likewise. * ncache.c: Likewise. * ncache.h: Likewise. * netfs.c: Likewise. * node.c: Likewise. * options.c: Likewise. * pattern.c: Likewise. * pattern.h: Likewise. * stow.c: Likewise. * ulfs.c: Likewise. * ulfs.h: Likewise. * update.c: Likewise.
Diffstat (limited to 'lnode.h')
-rw-r--r--lnode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lnode.h b/lnode.h
index b43b7b2..f5a50f7 100644
--- a/lnode.h
+++ b/lnode.h
@@ -22,7 +22,7 @@
#ifndef INCLUDED_LNODE_H
#define INCLUDED_LNODE_H
-#include <hurd/netfs.h>
+#include <pthread.h>
#include <error.h>
struct lnode
@@ -40,7 +40,7 @@ struct lnode
contained int. */
struct lnode *entries; /* A reference to the list containing
the entries of this light node. */
- struct mutex lock; /* A lock. */
+ pthread_mutex_t lock; /* A lock. */
};
typedef struct lnode lnode_t;