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 d94e2f959e1068568ccc953155c30eb004ef44fb..1af09830c14334ab900e0156f1ed424895913548 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index d0ffa59863492649cb12d6000845a4d3cfcb411f..6ce1395153d5cd9551cfffaf5cdd96e00369ed84 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