summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2006-06-15 22:38:05 +0000
committerRoland McGrath <roland@redhat.com>2006-06-15 22:38:05 +0000
commit1d3a64d70c8f2aec1fc3ae26d124823c1ef304a9 (patch)
tree8eac25504ffa785579b95e370bb1ffca83b1d6b3
parentee4b927bae351b21787355e00a3d28371bf78e8f (diff)
downloadelfutils-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.
-rw-r--r--libelf/ChangeLog6
-rw-r--r--libelf/libelf.h10
2 files changed, 11 insertions, 5 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index d42bf18b..f45d9765 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2006-05-28 Ulrich Drepper <drepper@redhat.com>
* elf32_updatefile.c (updatemmap): Preserve section content if
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