Remove redundant casts of memory allocating functions returning void *
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 6 Sep 2021 08:00:00 +0000 (08:00 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 9 Sep 2021 08:01:00 +0000 (08:01 +0000)
commite094270980f1ca8af86a64cee0dbb6f1df670619
tree1471f9586bb9e3d7f5448001353d47e94145a4ae
parent02b05e183998943dd5a19ba783b8793e2ab9ab44
Remove redundant casts of memory allocating functions returning void *

Return values of functions returning "void *", e.g. calloc, malloc,
realloc, xcalloc, xmalloc, and xrealloc, do not need explicit casts.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
44 files changed:
debuginfod/ChangeLog
debuginfod/debuginfod-client.c
lib/ChangeLog
lib/dynamicsizehash.c
lib/dynamicsizehash_concurrent.c
libasm/ChangeLog
libasm/asm_align.c
libasm/asm_begin.c
libasm/asm_fill.c
libasm/asm_newabssym.c
libasm/asm_newcomsym.c
libasm/asm_newscn.c
libasm/asm_newscngrp.c
libasm/asm_newsubscn.c
libasm/asm_newsym.c
libasm/disasm_begin.c
libdw/ChangeLog
libdw/dwarf_begin_elf.c
libdw/dwarf_getpubnames.c
libdw/dwarf_getsrclines.c
libdwelf/ChangeLog
libdwelf/dwelf_strtab.c
libdwfl/ChangeLog
libdwfl/linux-pid-attach.c
libebl/ChangeLog
libebl/eblopenbackend.c
libelf/ChangeLog
libelf/common.h
libelf/elf32_updatefile.c
libelf/elf_begin.c
libelf/elf_getarsym.c
libelf/elf_getdata.c
libelf/elf_getscn.c
libelf/elf_newdata.c
libelf/elf_newscn.c
libelf/elf_readall.c
src/ChangeLog
src/elflint.c
src/findtextrel.c
src/nm.c
src/readelf.c
src/strip.c
tests/ChangeLog
tests/elfcopy.c