Mark __libdw_find_split_unit mark as internal_function.
authorMark Wielaard <mark@klomp.org>
Sat, 19 May 2018 16:35:51 +0000 (18:35 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 19 May 2018 16:36:38 +0000 (18:36 +0200)
The prototype and definition should match. On i386 this is important
because it changes the calling convention.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/libdwP.h

index a87a709..fffe0cc 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-19  Mark Wielaard  <mark@klomp.org>
+
+       * libdwP.h (__libdw_find_split_unit): Mark as internal_function.
+
 2018-05-15  Mark Wielaard  <mark@klomp.org>
 
        * Makefile.am (libdw_a_SOURCES): Add libdw_find_split_unit.c.
index 6057227..db14b68 100644 (file)
@@ -596,7 +596,8 @@ extern struct Dwarf_CU *__libdw_findcu_addr (Dwarf *dbg, void *addr)
      __nonnull_attribute__ (1) internal_function;
 
 /* Find the split (or skeleton) unit.  */
-extern struct Dwarf_CU *__libdw_find_split_unit (Dwarf_CU *cu);
+extern struct Dwarf_CU *__libdw_find_split_unit (Dwarf_CU *cu)
+     internal_function;
 
 /* Get abbreviation with given code.  */
 extern Dwarf_Abbrev *__libdw_findabbrev (struct Dwarf_CU *cu,