Add multiple-inclusion guard.
authorBruno Haible <bruno@clisp.org>
Wed, 24 Aug 2005 11:04:19 +0000 (11:04 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 24 Aug 2005 11:04:19 +0000 (11:04 +0000)
lib/ChangeLog
lib/lock.h
lib/tls.h

index b1c6ea8..add4eae 100644 (file)
@@ -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)
index f82e4a3..be99139 100644 (file)
@@ -59,6 +59,9 @@
 */
 
 
+#ifndef _LOCK_H
+#define _LOCK_H
+
 /* ========================================================================= */
 
 #if USE_POSIX_THREADS
@@ -792,3 +795,7 @@ typedef int gl_once_t;
     while (0)
 
 #endif
+
+/* ========================================================================= */
+
+#endif /* _LOCK_H */
index 3ca9504..fadce76 100644 (file)
--- 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 @@ typedef struct
     (void)0
 
 #endif
+
+/* ========================================================================= */
+
+#endif /* _TLS_H */