changeset 9935:6839e54ebad2

Provide missing no-op definitions for the dummy implementation.
author Bruno Haible <bruno@clisp.org>
date Fri, 18 Apr 2008 00:06:33 +0200
parents a7f88bf6fa38
children a1060fe09596
files ChangeLog lib/lock.h
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Apr 17 06:13:17 2008 -0600
+++ b/ChangeLog	Fri Apr 18 00:06:33 2008 +0200
@@ -1,3 +1,10 @@
+2008-04-17  Bruno Haible  <bruno@clisp.org>
+
+	* 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 <bmerry@gmail.com>.
+
 2008-04-17  Simon Josefsson  <simon@josefsson.org>
 
 	* doc/posix-functions/strftime.texi (strftime): Mention that %e
--- a/lib/lock.h	Thu Apr 17 06:13:17 2008 -0600
+++ b/lib/lock.h	Fri Apr 18 00:06:33 2008 +0200
@@ -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 -------------------------- */