summaryrefslogtreecommitdiffstats
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-11-20 07:26:48 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-11-20 07:26:48 +0000
commit49b4a21ea287a9982df03ec35f3e8165e5704314 (patch)
tree021aae1c78cc8df7a051f5dc81f42231c315d6cc /gcc/fix-header.c
parent6c60f87ec7abc47216e947d88ccc65eefa4e48b2 (diff)
downloadppe42-gcc-49b4a21ea287a9982df03ec35f3e8165e5704314.tar.gz
ppe42-gcc-49b4a21ea287a9982df03ec35f3e8165e5704314.zip
(write_rbrac): Treat rewinddir like memmove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6121 138bc75d-0d04-0410-961f-82ee72b054a4
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 3d6c4dbc480..06fc0923733 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)
OpenPOWER on IntegriCloud