From: Bruno Haible Date: Thu, 10 Dec 2009 13:08:47 +0000 (+0100) Subject: stdio: Avoid syntax error in C++ mode. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=238a6434b5392dfb0cc4e9d7201cb91b341bafd4;p=pspp stdio: Avoid syntax error in C++ mode. --- diff --git a/ChangeLog b/ChangeLog index d94e2f959e..1af09830c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/lib/stdio.in.h b/lib/stdio.in.h index d0ffa59863..6ce1395153 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