diff options
author | Roland McGrath <roland@redhat.com> | 2006-06-15 22:38:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2006-06-15 22:38:05 +0000 |
commit | 1d3a64d70c8f2aec1fc3ae26d124823c1ef304a9 (patch) | |
tree | 8eac25504ffa785579b95e370bb1ffca83b1d6b3 /libelf/libelf.h | |
parent | ee4b927bae351b21787355e00a3d28371bf78e8f (diff) | |
download | elfutils-1d3a64d70c8f2aec1fc3ae26d124823c1ef304a9.tar.gz |
2006-06-15 Roland McGrath <roland@redhat.com>
* libelf.h (elf_getarsym): Fix comment typo.
Rename second parameter to be more explanatory.
(elf_getident, elf_rawhide): Likewise.
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 |