X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fnormalize_cache.c;h=3ae9124488de675cb4736fd3b632a7484d80dc67;hb=817e3ec506c4095bc4fcc1923cee36153ef4ee43;hp=4b69668f716facc3eaa78cde7241959148a56ffe;hpb=4eabe5695feac935ee70ebcf9b136db7d56676c6;p=pazpar2-moved-to-github.git diff --git a/src/normalize_cache.c b/src/normalize_cache.c index 4b69668..3ae9124 100644 --- a/src/normalize_cache.c +++ b/src/normalize_cache.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2010 Index Data + Copyright (C) Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -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,7 +51,7 @@ normalize_cache_t normalize_cache_create(void) nc->nmem = nmem; nc->items = 0; nc->mutex = 0; - yaz_mutex_create(&nc->mutex); + pazpar2_mutex_create(&nc->mutex, "normalize_cache"); return nc; }