diff options
author | YamaArashi <shadow962@live.com> | 2016-02-13 02:16:07 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-13 02:16:07 -0800 |
commit | 87926b4bcc3046ac85fabda09178e9bf50dd8381 (patch) | |
tree | 5b5ed9076e0200c36f979e0f8baaa23f4406cfd8 /gcc/resource.c | |
parent | 56d3f75d136e839223544f0495cceb098afa1d55 (diff) |
remove use of strings.h
Diffstat (limited to 'gcc/resource.c')
-rwxr-xr-x | gcc/resource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/resource.c b/gcc/resource.c index c76e253..3231f0e 100755 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -1146,11 +1146,11 @@ init_resource_info (epilogue_insn) target_hash_table = (struct target_info **) xmalloc ((TARGET_HASH_PRIME * sizeof (struct target_info *))); - bzero ((char *) target_hash_table, + zero_memory ((char *) target_hash_table, TARGET_HASH_PRIME * sizeof (struct target_info *)); bb_ticks = (int *) xmalloc (n_basic_blocks * sizeof (int)); - bzero ((char *) bb_ticks, n_basic_blocks * sizeof (int)); + zero_memory ((char *) bb_ticks, n_basic_blocks * sizeof (int)); } /* Free up the resources allcated to mark_target_live_regs (). This |