X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Freclists.c;h=7025af1b20b96aa183e83987e0f27424681da257;hb=63771e0c2740834e4496fb6793d058b9b369ad07;hp=5efce554a487d991d6077361984114eb485f612b;hpb=f6f232081df89d867621187764818ea777178e82;p=pazpar2-moved-to-github.git diff --git a/src/reclists.c b/src/reclists.c index 5efce55..7025af1 100644 --- a/src/reclists.c +++ b/src/reclists.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2010 Index Data + Copyright (C) 2006-2011 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 @@ -25,7 +25,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include -#include "pazpar2.h" +#include "ppmutex.h" +#include "session.h" #include "reclists.h" #include "jenkins_hash.h" @@ -249,7 +250,7 @@ struct reclist *reclist_create(NMEM nmem) res->num_records = 0; res->mutex = 0; - yaz_mutex_create(&res->mutex); + pazpar2_mutex_create(&res->mutex, "reclist"); return res; }