# HG changeset patch # User Bruno Haible # Date 1208469993 -7200 # Node ID 6839e54ebad2b5451eb20db6f4db610e0e4c29b1 # Parent a7f88bf6fa38bb195c8e6e5099eb275abf44b89b Provide missing no-op definitions for the dummy implementation. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-04-17 Bruno Haible + + * lib/lock.h (gl_lock_destroy, gl_rwlock_destroy, + gl_recursive_lock_destroy): Provide no-op definitions for the dummy + implementation. + Patch by Bruce Merry . + 2008-04-17 Simon Josefsson * doc/posix-functions/strftime.texi (strftime): Mention that %e diff --git a/lib/lock.h b/lib/lock.h --- a/lib/lock.h +++ b/lib/lock.h @@ -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 General Public License as published by @@ -1062,6 +1062,7 @@ # define gl_lock_init(NAME) # define gl_lock_lock(NAME) # define gl_lock_unlock(NAME) +# define gl_lock_destroy(NAME) /* ------------------------- gl_rwlock_t datatype ------------------------- */ @@ -1072,6 +1073,7 @@ # 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 --------------------- */ @@ -1081,6 +1083,7 @@ # 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 -------------------------- */