]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libdwfl/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 17 Oct 2012 20:04:24 +0000 (22:04 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 17 Oct 2012 20:04:24 +0000 (22:04 +0200)
2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

* libdwfl.h (dwfl_module_getelf): Add __nonnull_attribute__.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
libdwfl/ChangeLog
libdwfl/libdwfl.h

index 189d3b717227ba3af821c46866c5fb9d6cf45205..638a096611ba719cad45821cf6c82b7d9fbb1a2e 100644 (file)
@@ -1,3 +1,7 @@
+2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * libdwfl.h (dwfl_module_getelf): Add __nonnull_attribute__.
+
 2012-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * dwfl_segment_report_module.c (dwfl_segment_report_module):
index 506a2a02d1f523fb7a28a3433c3631e12c4f6834..000d582f5bb63479aec3d19882a6909f84adcf2d 100644 (file)
@@ -403,7 +403,8 @@ extern int dwfl_validate_address (Dwfl *dwfl,
    are found) for use with libelf.  If successful, fills in *BIAS
    with the difference between addresses within the loaded module
    and those in symbol tables or Dwarf information referring to it.  */
-extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias);
+extern Elf *dwfl_module_getelf (Dwfl_Module *, GElf_Addr *bias)
+  __nonnull_attribute__ (1, 2);
 
 /* Return the number of symbols in the module's symbol table,
    or -1 for errors.  */