diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 23:38:09 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 23:38:09 +0000 |
commit | c159a059bdc152931e22f2e86553acb25c78183a (patch) | |
tree | bcef5c40fbde6952bd60e0e139bdceb52de2fa09 /node.h | |
parent | 7993b3db57070ec6b37bdac13f9edf9362861f16 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; /*---------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/ |