Fix return values for cql_to_ccl_buf
[yaz-moved-to-github.git] / include / yaz / mutex.h
index ff8babb..4a740e5 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data.
+ * Copyright (C) 1995-2011 Index Data.
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -52,17 +52,6 @@ typedef struct yaz_cond *YAZ_COND;
  */
 YAZ_EXPORT void yaz_mutex_create(YAZ_MUTEX *mutexp);
 
-/** \brief create MUTEX with custom MUTEX flags
-    \param mutexp is pointer to MUTEX handle (*mutexp must be NULL)
-    \param attr is flags defined by PTHREAD_MUTEX_xxx
-
-    It is important that *mutexp is NULL. If not, yaz_mutex_create will
-    not modify the handle (assumes it is already created!)
-
-    This calls yax_mutex_create_attr(mutexp, PTHREAD_MUTEX_NORMAL)
- */
-YAZ_EXPORT void yaz_mutex_create_attr(YAZ_MUTEX *mutexp, int flags);
-
 /** \brief enter critical section / AKA lock
     \param mutex MUTEX handle
  */