diff options
author | Mark Wielaard <mark@klomp.org> | 2019-02-22 00:28:01 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2019-02-28 23:17:43 +0100 |
commit | be8080bdd746ac2b07fb0bcad23a9677844bb200 (patch) | |
tree | 36de679fccef0ebb8330d482ea334c419460c4b3 /libelf/libelfP.h | |
parent | b9d1678951e13e934759a643040da752573f765f (diff) | |
download | elfutils-be8080bdd746ac2b07fb0bcad23a9677844bb200.tar.gz |
libelf: Remove unused internal __elf[32|64]_msize functions.
Those functions were intended for ELF versions where the memory and
file sizes of data structures are different. They were never used
because libelf depends on the file and memory sizes being equal
(otherwise using mmap wouldn't work).
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libelf/libelfP.h')
-rw-r--r-- | libelf/libelfP.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libelf/libelfP.h b/libelf/libelfP.h index bc9a404d..3a96a3b0 100644 --- a/libelf/libelfP.h +++ b/libelf/libelfP.h @@ -444,16 +444,6 @@ extern const uint_fast8_t __libelf_type_aligns[ELFCLASSNUM - 1][ELF_T_NUM] extern Elf_Type __libelf_data_type (Elf *elf, int sh_type, GElf_Xword align) 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) __const_attribute__; -extern size_t __elf64_msize (Elf_Type __type, size_t __count, - unsigned int __version) __const_attribute__; - /* Create Elf descriptor from memory image. */ extern Elf *__libelf_read_mmaped_file (int fildes, void *map_address, |