projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge with master
[pazpar2-moved-to-github.git]
/
src
/
normalize_cache.c
diff --git
a/src/normalize_cache.c
b/src/normalize_cache.c
index
a863fc3
..
92b71ae
100644
(file)
--- a/
src/normalize_cache.c
+++ b/
src/normalize_cache.c
@@
-1,5
+1,5
@@
/* This file is part of Pazpar2.
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2012 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
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 <config.h>
#endif
#include <config.h>
#endif
+#include "ppmutex.h"
#include "normalize_cache.h"
#include "pazpar2_config.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;
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;
}
return nc;
}