summaryrefslogtreecommitdiff
path: root/pattern.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 /pattern.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 'pattern.h')
-rw-r--r--pattern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pattern.h b/pattern.h
index 1bab993..e5b1835 100644
--- a/pattern.h
+++ b/pattern.h
@@ -22,7 +22,7 @@
#ifndef _PATTERN_H
#define _PATTERN_H
-#include <hurd/netfs.h> /* For mutex stuff. */
+#include <pthread.h>
struct pattern
{
@@ -33,7 +33,7 @@ struct pattern
struct patternlist
{
- struct mutex lock;
+ pthread_mutex_t lock;
struct pattern *head;
};