aboutsummaryrefslogtreecommitdiff
path: root/elf/link.h
diff options
context:
space:
mode:
authorBrooks Moses <bmoses@google.com>2015-08-14 22:32:51 -0700
committerBrooks Moses <bmoses@google.com>2015-08-14 22:32:51 -0700
commit1a771e688fd70d331675f3641a2382fcc660e1a5 (patch)
treeade8565f56d4dde899949054fedffae52ce55472 /elf/link.h
parent31caad179bf541364f062312e34e6b584c067a92 (diff)
downloadglibc-1a771e688fd70d331675f3641a2382fcc660e1a5.zip
glibc-1a771e688fd70d331675f3641a2382fcc660e1a5.tar.gz
glibc-1a771e688fd70d331675f3641a2382fcc660e1a5.tar.bz2
Backport cl/98967227 to GRTE glibc 2.19 sources.
Diffstat (limited to 'elf/link.h')
-rw-r--r--elf/link.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/elf/link.h b/elf/link.h
index c67a50d..143d584 100644
--- a/elf/link.h
+++ b/elf/link.h
@@ -34,6 +34,8 @@
#include <bits/elfclass.h> /* Defines __ELF_NATIVE_CLASS. */
#include <bits/link.h>
+__BEGIN_DECLS
+
/* Rendezvous structure used by the run-time dynamic linker to communicate
details of shared object loading to the debugger. If the executable's
dynamic section has a DT_DEBUG element, the run-time linker sets that
@@ -162,8 +164,6 @@ struct dl_phdr_info
void *dlpi_tls_data;
};
-__BEGIN_DECLS
-
extern int dl_iterate_phdr (int (*__callback) (struct dl_phdr_info *,
size_t, void *),
void *__data);
@@ -187,8 +187,8 @@ extern uintptr_t la_symbind64 (Elf64_Sym *__sym, unsigned int __ndx,
unsigned int *__flags, const char *__symname);
extern unsigned int la_objclose (uintptr_t *__cookie);
-__END_DECLS
-
#endif
+__END_DECLS
+
#endif /* link.h */