Happy new year
[pazpar2-moved-to-github.git] / src / ppmutex.c
index c74cac1..1ecc026 100644 (file)
@@ -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
@@ -36,17 +36,13 @@ void pazpar2_mutex_init(void)
     ppmutex_level = yaz_log_module_level("mutex");
 }
 
-void pazpar2_mutex_create_flag(YAZ_MUTEX *p, const char *name, int flags)
+void pazpar2_mutex_create(YAZ_MUTEX *p, const char *name)
 {
     assert(p);
-    yaz_mutex_create_attr(p, flags);
+    yaz_mutex_create(p);
     yaz_mutex_set_name(*p, ppmutex_level, name);
 }
 
-void pazpar2_mutex_create(YAZ_MUTEX *p, const char *name) {
-    pazpar2_mutex_create_flag(p, name, 0);
-}
-
 /*
  * Local variables:
  * c-basic-offset: 4