diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 23:51:34 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 23:51:34 +0000 |
commit | 3f06ded61ba1373f44e87d1f6d266fb3baa29314 (patch) | |
tree | 90d28ef7d22402021f3a4fddd41c6d2bc674f629 /cache.h | |
parent | 7fc534e167e8ebf3e7267fca5db7e34c9bc15538 (diff) |
Fix build against libpthread
* Makefile (LDFLAGS): Replace -lthreads with -lpthread.
* cache.c: Use pthread functions instead of cthreads functions.
* cache.h: Likewise.
* debug.c: Likewise.
* netfs.c: Likewise.
* tarfs.c: Likewise.
* tarfs.h: Likewise.
* tarlist.c: Likewise.
* zipstores.c: Likewise.
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ struct cache size_t size; /* Lock of this cache */ - struct mutex lock; + pthread_mutex_t lock; }; /* Initializes the cache backend. READ is the method that will be called |