aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-11-20 07:26:48 +0000
committerRichard Stallman <rms@gnu.org>1993-11-20 07:26:48 +0000
commit4bc38260fcb82d270b5049603d0353846160538f (patch)
tree021aae1c78cc8df7a051f5dc81f42231c315d6cc /gcc/fix-header.c
parenta175f87d71d51674fa3e2c053399ccf5f972627d (diff)
downloadgcc-4bc38260fcb82d270b5049603d0353846160538f.zip
gcc-4bc38260fcb82d270b5049603d0353846160538f.tar.gz
gcc-4bc38260fcb82d270b5049603d0353846160538f.tar.bz2
(write_rbrac): Treat rewinddir like memmove.
From-SVN: r6121
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 3d6c4db..06fc092 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -382,7 +382,8 @@ write_rbrac ()
if (!strcmp (fn->fname, "memmove")
|| !strcmp (fn->fname, "vprintf")
|| !strcmp (fn->fname, "vfprintf")
- || !strcmp (fn->fname, "vsprintf"))
+ || !strcmp (fn->fname, "vsprintf")
+ || !strcmp (fn->fname, "rewinddir"))
macro_protect = 1;
if (macro_protect)