diff --git libelf/elf32_fsize.c libelf/elf32_fsize.c index fddae91e..16919daa 100644 --- libelf/elf32_fsize.c +++ libelf/elf32_fsize.c @@ -64,5 +64,3 @@ elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version) * __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][type]); #endif } -#define local_strong_alias(n1, n2) strong_alias (n1, n2) -local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize)) diff --git libelf/libelfP.h libelf/libelfP.h index ed216c8c..c6bb992d 100644 --- libelf/libelfP.h +++ libelf/libelfP.h @@ -454,17 +454,6 @@ extern const uint_fast8_t __libelf_type_aligns[EV_NUM - 1][ELFCLASSNUM - 1][ELF_ be ELF_T_BYTE. */ extern Elf_Type __libelf_data_type (Elf *elf, int sh_type) internal_function; -/* The libelf API does not have such a function but it is still useful. - Get the memory size for the given type. - - These functions cannot be marked internal since they are aliases - of the export elfXX_fsize functions.*/ -extern size_t __elf32_msize (Elf_Type __type, size_t __count, - unsigned int __version); -extern size_t __elf64_msize (Elf_Type __type, size_t __count, - unsigned int __version); - - /* Create Elf descriptor from memory image. */ extern Elf *__libelf_read_mmaped_file (int fildes, void *map_address, off_t offset, size_t maxsize,