summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2009-04-20 11:50:50 -0700
committerRoland McGrath <[email protected]>2009-04-20 11:50:50 -0700
commit1036157150672569a79d30c9b59cc7623e3e8e60 (patch)
treeabc6edd2384571626ec2ed00b47c77ad7b0f87a6
parent8a59241b0cee642d16398d19adeab75f25768aca (diff)
Add missing internal_function attribute.
-rw-r--r--libdwfl/ChangeLog4
-rw-r--r--libdwfl/dwfl_module_getdwarf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog
index 7f42b43e..c2eb39d9 100644
--- a/libdwfl/ChangeLog
+++ b/libdwfl/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-20 Roland McGrath <[email protected]>
+
+ * dwfl_module_getdwarf.c (__libdwfl_getelf): Add internal_function.
+
2009-04-19 Roland McGrath <[email protected]>
* dwfl_module_getdwarf.c (find_file): Renamed to ...
diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c
index 0441eb31..06cb4917 100644
--- a/libdwfl/dwfl_module_getdwarf.c
+++ b/libdwfl/dwfl_module_getdwarf.c
@@ -121,6 +121,7 @@ open_elf (Dwfl_Module *mod, struct dwfl_file *file)
/* Find the main ELF file for this module and open libelf on it.
When we return success, MOD->main.elf and MOD->main.bias are set up. */
void
+internal_function
__libdwfl_getelf (Dwfl_Module *mod)
{
if (mod->main.elf != NULL /* Already done. */