summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-13 02:16:07 -0800
committerYamaArashi <shadow962@live.com>2016-02-13 02:16:07 -0800
commit87926b4bcc3046ac85fabda09178e9bf50dd8381 (patch)
tree5b5ed9076e0200c36f979e0f8baaa23f4406cfd8 /gcc/prefix.c
parent56d3f75d136e839223544f0495cceb098afa1d55 (diff)
remove use of strings.h
Diffstat (limited to 'gcc/prefix.c')
-rwxr-xr-xgcc/prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index e5ca923..6a98437 100755
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -171,7 +171,7 @@ save_string (s, len)
{
register char *result = xmalloc (len + 1);
- bcopy (s, result, len);
+ copy_memory (s, result, len);
result[len] = 0;
return result;
}