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>
+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):
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. */