From 4c57aa623ca1b735baf10103b4550599b6f798b0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 18 Apr 2008 00:06:33 +0200 Subject: [PATCH] Provide missing no-op definitions for the dummy implementation. --- ChangeLog | 7 +++++++ lib/lock.h | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b2a1a0533..79d573ce9 100644 --- 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 index 0b5f8e3ab..32a35bbc7 100644 --- 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 @@ 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 ------------------------- */ @@ -1072,6 +1073,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 --------------------- */ @@ -1081,6 +1083,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 -------------------------- */ -- 2.11.0