Modify verify.h to pacify gcc -Wredundant_decls.
[gnulib.git] / ChangeLog
index db34a30..1709a97 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,33 @@
+2010-05-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Modify verify.h to pacify gcc -Wredundant_decls.
+       * lib/verify.h (GL_CONCAT, GL_CONCAT0, GL_GENSYM): New macros.
+       These use the prefix "GL_" since they're likely to be useful elsewhere.
+       We may need to break them out into a different .h file.
+       (__COUNTER__): Define to 0 if the compiler doesn't support it.
+       (verify) [!defined __cplusplus]: Use them to avoid duplicate decls
+       of verify_function__.
+
+2010-05-05  Peter O'Gorman  <pogma@thewrittenword.com>
+
+       Tests for module pwrite.
+       * modules/pwrite-tests: New file.
+       * tests/test-pwrite.sh: New file.
+       * tests/test-pwrite.c: New file.
+
+       New module pwrite.
+       * lib/unistd.in.h (pwrite): New declaration.
+       * lib/pwrite.c: New file, from glibc with modifications.
+       * m4/pwrite.m4: New file.
+       * m4/unistd_h.m4 (gl_UNISTD_H): Test whether pwrite is declared.
+       (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_PWRITE, HAVE_PWRITE,
+       REPLACE_PWRITE.
+       * modules/pwrite: New file.
+       * modules/unistd (Makefile.am): Substitute GNULIB_PWRITE, HAVE_PWRITE,
+       REPLACE_PWRITE.
+       * tests/test-unistd-c++.cc: Check GNULIB_NAMESPACE::pwrite.
+       * doc/posix-functions/pwrite.texi: Mention the new module.
+
 2010-05-05  Peter O'Gorman  <pogma@thewrittenword.com>
 
        pread: Update documentation.