stdio: Avoid syntax error in C++ mode.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Dec 2009 13:08:47 +0000 (14:08 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Dec 2009 13:08:47 +0000 (14:08 +0100)
ChangeLog
lib/stdio.in.h

index d94e2f9..1af0983 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-12-09  Bruno Haible  <bruno@clisp.org>
 
+       Avoid syntax error in C++ mode.
+       * lib/stdio.in.h (rename): Don't use parameter name 'new'.
+
+2009-12-09  Bruno Haible  <bruno@clisp.org>
+
        Use sed with option -e.
        * gnulib-tool (func_version, func_emit_copyright_notice,
        func_emit_initmacro_end, func_import, func_create_testdir): Pass
index d0ffa59..6ce1395 100644 (file)
@@ -448,7 +448,7 @@ extern int remove (const char *name);
 # if @REPLACE_RENAME@
 #  undef rename
 #  define rename rpl_rename
-extern int rename (const char *old, const char *new);
+extern int rename (const char *old_filename, const char *new_filename);
 # endif
 #elif defined GNULIB_POSIXCHECK
 # undef rename