changeset 6093:3f7f9fe30db3

Add multiple-inclusion guard.
author Bruno Haible <bruno@clisp.org>
date Wed, 24 Aug 2005 11:04:19 +0000
parents 7f96c9d0eef6
children b72d5338c969
files lib/ChangeLog lib/lock.h lib/tls.h
diffstat 3 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-21  Bruno Haible  <bruno@clisp.org>
+
+	* lock.h: Add multiple inclusion guard.
+	* tls.h: Add multiple inclusion guard.
+
 2005-08-23  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* regex.h (REG_NOSYS)
--- a/lib/lock.h
+++ b/lib/lock.h
@@ -59,6 +59,9 @@
 */
 
 
+#ifndef _LOCK_H
+#define _LOCK_H
+
 /* ========================================================================= */
 
 #if USE_POSIX_THREADS
@@ -792,3 +795,7 @@
     while (0)
 
 #endif
+
+/* ========================================================================= */
+
+#endif /* _LOCK_H */
--- a/lib/tls.h
+++ b/lib/tls.h
@@ -38,6 +38,9 @@
 */
 
 
+#ifndef _TLS_H
+#define _TLS_H
+
 /* ========================================================================= */
 
 #if USE_POSIX_THREADS
@@ -308,3 +311,7 @@
     (void)0
 
 #endif
+
+/* ========================================================================= */
+
+#endif /* _TLS_H */