changeset 14555:68b42f132c0c

allocator, careadlinkat: Fix double-inclusion guard. * lib/allocator.h: Fix double-inclusion guard. * lib/careadlinkat.h: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Apr 2011 18:18:18 +0200
parents 4203fcd33dfa
children b9086e1df820
files ChangeLog lib/allocator.h lib/careadlinkat.h
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-09  Bruno Haible  <bruno@clisp.org>
+
+	allocator, careadlinkat: Fix double-inclusion guard.
+	* lib/allocator.h: Fix double-inclusion guard.
+	* lib/careadlinkat.h: Likewise.
+
 2011-04-09  Bruno Haible  <bruno@clisp.org>
 
 	relocatable-prog-wrapper: Update after module 'areadlink' changed.
--- a/lib/allocator.h
+++ b/lib/allocator.h
@@ -18,6 +18,7 @@
 /* Written by Paul Eggert.  */
 
 #ifndef _GL_ALLOCATOR_H
+#define _GL_ALLOCATOR_H
 
 #include <stddef.h>
 
@@ -53,4 +54,4 @@
 /* An allocator using the stdlib functions and a null DIE function.  */
 extern struct allocator const stdlib_allocator;
 
-#endif
+#endif /* _GL_ALLOCATOR_H */
--- a/lib/careadlinkat.h
+++ b/lib/careadlinkat.h
@@ -18,6 +18,7 @@
 /* Written by Paul Eggert, Bruno Haible, and Jim Meyering.  */
 
 #ifndef _GL_CAREADLINKAT_H
+#define _GL_CAREADLINKAT_H
 
 #include <fcntl.h>
 #include <unistd.h>