From: Bruno Haible Date: Thu, 10 Dec 2009 13:08:47 +0000 (+0100) Subject: stdio: Avoid syntax error in C++ mode. X-Git-Tag: v0.1~5069 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=238a6434b5392dfb0cc4e9d7201cb91b341bafd4;p=gnulib.git stdio: Avoid syntax error in C++ mode. --- diff --git a/ChangeLog b/ChangeLog index d94e2f959..1af09830c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-12-09 Bruno Haible + Avoid syntax error in C++ mode. + * lib/stdio.in.h (rename): Don't use parameter name 'new'. + +2009-12-09 Bruno Haible + Use sed with option -e. * gnulib-tool (func_version, func_emit_copyright_notice, func_emit_initmacro_end, func_import, func_create_testdir): Pass diff --git a/lib/stdio.in.h b/lib/stdio.in.h index d0ffa5986..6ce139515 100644 --- a/lib/stdio.in.h +++ b/lib/stdio.in.h @@ -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