diff options
Diffstat (limited to 'lib/fuse_misc.h')
-rw-r--r-- | lib/fuse_misc.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/fuse_misc.h b/lib/fuse_misc.h index f384aea..f956ab7 100644 --- a/lib/fuse_misc.h +++ b/lib/fuse_misc.h @@ -22,20 +22,6 @@ #define FUSE_SYMVER(sym1, sym2) #endif -#ifndef USE_UCLIBC -#define fuse_mutex_init(mut) pthread_mutex_init(mut, NULL) -#else -/* Is this hack still needed? */ -static inline void fuse_mutex_init(pthread_mutex_t *mut) -{ - pthread_mutexattr_t attr; - pthread_mutexattr_init(&attr); - pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); - pthread_mutex_init(mut, &attr); - pthread_mutexattr_destroy(&attr); -} -#endif - #ifdef HAVE_STRUCT_STAT_ST_ATIM /* Linux */ #define ST_ATIM_NSEC(stbuf) ((stbuf)->st_atim.tv_nsec) |