X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fnormalize_cache.c;h=ee10186a01405e81502a45c32772e11a6b222199;hb=fc05a25c3100a114f64450604fc897c77c4f0db6;hp=a863fc378e69d61abd2e6a14c81b66ca4507b80a;hpb=b73890ede1ee6eeb8a07937733871077df6f15b9;p=pazpar2-moved-to-github.git diff --git a/src/normalize_cache.c b/src/normalize_cache.c index a863fc3..ee10186 100644 --- a/src/normalize_cache.c +++ b/src/normalize_cache.c @@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #endif +#include "ppmutex.h" #include "normalize_cache.h" #include "pazpar2_config.h" @@ -50,8 +51,7 @@ normalize_cache_t normalize_cache_create(void) nc->nmem = nmem; nc->items = 0; nc->mutex = 0; - yaz_mutex_create(&nc->mutex); - yaz_mutex_set_name(nc->mutex, "normalize_cache"); + pazpar2_mutex_create(&nc->mutex, "normalize_cache"); return nc; }