aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorFred Fish <fnf@be.com>2000-09-01 22:43:56 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-09-01 18:43:56 -0400
commit1b4f90cdceeb4213a2ba4e36ee068e47d548350e (patch)
tree48f69603d507df49f55f7ce133dfc4b0105b4014 /gcc/fix-header.c
parentca3920adb2a8121fbb38100ebb8fde88015a49ba (diff)
downloadgcc-1b4f90cdceeb4213a2ba4e36ee068e47d548350e.zip
gcc-1b4f90cdceeb4213a2ba4e36ee068e47d548350e.tar.gz
gcc-1b4f90cdceeb4213a2ba4e36ee068e47d548350e.tar.bz2
fix-header.c (write_rbrac): Add putc and getc to list of functions to protect against prior definition as a...
* fix-header.c (write_rbrac): Add putc and getc to list of functions to protect against prior definition as a macro. From-SVN: r36108
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 3dadb0e..25c75bb 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -778,6 +778,8 @@ write_rbrac ()
/* In the case of memmove, protect in case the application
defines it as a macro before including the header. */
if (!strcmp (fn->fname, "memmove")
+ || !strcmp (fn->fname, "putc")
+ || !strcmp (fn->fname, "getc")
|| !strcmp (fn->fname, "vprintf")
|| !strcmp (fn->fname, "vfprintf")
|| !strcmp (fn->fname, "vsprintf")