]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Provide missing no-op definitions for the dummy implementation.
authorBruno Haible <bruno@clisp.org>
Thu, 17 Apr 2008 22:08:26 +0000 (22:08 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:39 +0000 (12:15 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/lock.h

index b9f94260f750cc061e1852b9b481be623d962e0a..9baa7d2f8366d754f219ad840f5ada31a4194973 100644 (file)
@@ -1,3 +1,10 @@
+2008-04-17  Bruno Haible  <bruno@clisp.org>
+
+       * lock.h (gl_lock_destroy, gl_rwlock_destroy,
+       gl_recursive_lock_destroy): Provide no-op definitions for the dummy
+       implementation.
+       Patch by Bruce Merry <bmerry@gmail.com>.
+
 2008-04-16  Bruno Haible  <bruno@clisp.org>
 
        * localename.c (LANG_MAORI, LANG_QUECHUA, LANG_SOTHO, LANG_UIGHUR): New
index 7642f0fdcb17511998dbe3bc0c7f5a073cdf1e65..23a9d15e400807d45d8777c8c9f256b7d413bba1 100644 (file)
@@ -1,5 +1,5 @@
 /* Locking in multithreaded situations.
-   Copyright (C) 2005-2007 Free Software Foundation, Inc.
+   Copyright (C) 2005-2008 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
@@ -1063,6 +1063,7 @@ typedef int gl_lock_t;
 # define gl_lock_init(NAME)
 # define gl_lock_lock(NAME)
 # define gl_lock_unlock(NAME)
+# define gl_lock_destroy(NAME)
 
 /* ------------------------- gl_rwlock_t datatype ------------------------- */
 
@@ -1073,6 +1074,7 @@ typedef int gl_rwlock_t;
 # define gl_rwlock_rdlock(NAME)
 # define gl_rwlock_wrlock(NAME)
 # define gl_rwlock_unlock(NAME)
+# define gl_rwlock_destroy(NAME)
 
 /* --------------------- gl_recursive_lock_t datatype --------------------- */
 
@@ -1082,6 +1084,7 @@ typedef int gl_recursive_lock_t;
 # define gl_recursive_lock_init(NAME)
 # define gl_recursive_lock_lock(NAME)
 # define gl_recursive_lock_unlock(NAME)
+# define gl_recursive_lock_destroy(NAME)
 
 /* -------------------------- gl_once_t datatype -------------------------- */