* elf.c: Remove "(void)" casts from function calls where the
return value is ignored, in accordance with GNU coding standards.
This commit is contained in:
parent
4ed3a9ea66
commit
97225e37f7
@ -1,3 +1,8 @@
|
||||
Fri Jul 3 20:23:34 1992 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* elf.c: Remove "(void)" casts from function calls where the
|
||||
return value is ignored, in accordance with GNU coding standards.
|
||||
|
||||
Tue Jun 30 16:49:12 1992 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* hppa.c: Apply John's standard fix to avoid "empty translation
|
||||
|
@ -707,7 +707,7 @@ DEFUN(bfd_section_from_phdr, (abfd, hdr, index),
|
||||
(hdr -> p_memsz > hdr -> p_filesz));
|
||||
sprintf (namebuf, split ? "segment%da" : "segment%d", index);
|
||||
name = bfd_alloc (abfd, strlen (namebuf) + 1);
|
||||
(void) strcpy (name, namebuf);
|
||||
strcpy (name, namebuf);
|
||||
newsect = bfd_make_section (abfd, name);
|
||||
newsect -> vma = hdr -> p_vaddr;
|
||||
newsect -> _raw_size = hdr -> p_filesz;
|
||||
@ -733,7 +733,7 @@ DEFUN(bfd_section_from_phdr, (abfd, hdr, index),
|
||||
{
|
||||
sprintf (namebuf, "segment%db", index);
|
||||
name = bfd_alloc (abfd, strlen (namebuf) + 1);
|
||||
(void) strcpy (name, namebuf);
|
||||
strcpy (name, namebuf);
|
||||
newsect = bfd_make_section (abfd, name);
|
||||
newsect -> vma = hdr -> p_vaddr + hdr -> p_filesz;
|
||||
newsect -> _raw_size = hdr -> p_memsz - hdr -> p_filesz;
|
||||
|
Loading…
x
Reference in New Issue
Block a user