summaryrefslogtreecommitdiffstats
path: root/lib/libelf/elf_scn.c
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2010-07-21 09:47:14 +0000
committerkaiw <kaiw@FreeBSD.org>2010-07-21 09:47:14 +0000
commit57795d0388546ee51a052ad6d144abc3288508f5 (patch)
tree89fecbe337348ce494507450a43cc6a12c9ff80c /lib/libelf/elf_scn.c
parentf349ce0e9e0d9b00fd5fa016a5b7cd1ec528a01c (diff)
downloadFreeBSD-src-57795d0388546ee51a052ad6d144abc3288508f5.zip
FreeBSD-src-57795d0388546ee51a052ad6d144abc3288508f5.tar.gz
Allow an application that updates only the ELF Ehdr to work.
Obtained from: elftoolchain MFC after: 1 month
Diffstat (limited to 'lib/libelf/elf_scn.c')
-rw-r--r--lib/libelf/elf_scn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/elf_scn.c b/lib/libelf/elf_scn.c
index 139f6d9..3a9e575 100644
--- a/lib/libelf/elf_scn.c
+++ b/lib/libelf/elf_scn.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
/*
* Load an ELF section table and create a list of Elf_Scn structures.
*/
-static int
+int
_libelf_load_scn(Elf *e, void *ehdr)
{
int ec, swapbytes;
OpenPOWER on IntegriCloud