From 1520961b7d0551c113ef1f98547f442ed524b20e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 17 Apr 2008 22:08:26 +0000 Subject: Provide missing no-op definitions for the dummy implementation. --- gettext-runtime/intl/ChangeLog | 7 +++++++ gettext-runtime/intl/lock.h | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'gettext-runtime/intl') diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index b9f9426..9baa7d2 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,10 @@ +2008-04-17 Bruno Haible + + * 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-16 Bruno Haible * localename.c (LANG_MAORI, LANG_QUECHUA, LANG_SOTHO, LANG_UIGHUR): New diff --git a/gettext-runtime/intl/lock.h b/gettext-runtime/intl/lock.h index 7642f0f..23a9d15 100644 --- a/gettext-runtime/intl/lock.h +++ b/gettext-runtime/intl/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 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 -------------------------- */ -- cgit v1.1