]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
2006-06-15 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Thu, 15 Jun 2006 22:38:05 +0000 (22:38 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 15 Jun 2006 22:38:05 +0000 (22:38 +0000)
* libelf.h (elf_getarsym): Fix comment typo.
Rename second parameter to be more explanatory.
(elf_getident, elf_rawhide): Likewise.

libelf/ChangeLog
libelf/libelf.h

index d42bf18bf19256353771c767bdca7bf21dd3fcc4..f45d9765d51fbd3102f2e76a11ca24cb004933e8 100644 (file)
@@ -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
index 7d7d39e80bd92997f7f342f48e7ccc73f2b8b7bf..21c42b64aac735f7457572171659a0c09131b04f 100644 (file)
@@ -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