diff options
Diffstat (limited to 'libelf/libelf.h')
| -rw-r--r-- | libelf/libelf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libelf/libelf.h b/libelf/libelf.h index 7d7d39e8..21c42b64 100644 --- a/libelf/libelf.h +++ b/libelf/libelf.h @@ -1,5 +1,5 @@ /* Interface for libelf. - Copyright (C) 1998, 1999, 2000, 2002, 2004, 2005 Red Hat, Inc. + Copyright (C) 1998, 1999, 2000, 2002, 2004, 2005, 2006 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -206,7 +206,7 @@ extern off_t elf_getbase (Elf *__elf); /* Retrieve file identification data. */ -extern char *elf_getident (Elf *__elf, size_t *__ptr); +extern char *elf_getident (Elf *__elf, size_t *__nbytes); /* Retrieve class-dependent object file header. */ extern Elf32_Ehdr *elf32_getehdr (Elf *__elf); @@ -310,15 +310,15 @@ extern off_t elf_getaroff (Elf *__elf); /* Select archive element at OFFSET. */ extern size_t elf_rand (Elf *__elf, size_t __offset); -/* Get symbol table of archhive. */ -extern Elf_Arsym *elf_getarsym (Elf *__elf, size_t *__ptr); +/* Get symbol table of archive. */ +extern Elf_Arsym *elf_getarsym (Elf *__elf, size_t *__narsyms); /* Control ELF descriptor. */ extern int elf_cntl (Elf *__elf, Elf_Cmd __cmd); /* Retrieve uninterpreted file contents. */ -extern char *elf_rawfile (Elf *__elf, size_t *__ptr); +extern char *elf_rawfile (Elf *__elf, size_t *__nbytes); /* Return size of array of COUNT elements of the type denoted by TYPE |
