aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-04-07 06:12:10 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-04-09 20:46:23 +0000
commitf61ecf60cfce6172df803a9e5e099aab2d4aedcd (patch)
treedd5b080638214a0804c936cc9c51772a2a44c50e
parent38e0610df7d5cd5ddd43a477c139ec6ce342c5c2 (diff)
downloadsrc-f61ecf60cfce6172df803a9e5e099aab2d4aedcd.tar.gz
src-f61ecf60cfce6172df803a9e5e099aab2d4aedcd.zip
rtld/x86/reloc.c: style
Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D29623
-rw-r--r--libexec/rtld-elf/amd64/reloc.c3
-rw-r--r--libexec/rtld-elf/i386/reloc.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/libexec/rtld-elf/amd64/reloc.c b/libexec/rtld-elf/amd64/reloc.c
index 00e538d4b647..309e105d8b5e 100644
--- a/libexec/rtld-elf/amd64/reloc.c
+++ b/libexec/rtld-elf/amd64/reloc.c
@@ -538,7 +538,8 @@ allocate_initial_tls(Obj_Entry *objs)
sysarch(AMD64_SET_FSBASE, &addr);
}
-void *__tls_get_addr(tls_index *ti)
+void *
+__tls_get_addr(tls_index *ti)
{
Elf_Addr** segbase;
diff --git a/libexec/rtld-elf/i386/reloc.c b/libexec/rtld-elf/i386/reloc.c
index 7f8ecfa40f8f..5ed3abf65b31 100644
--- a/libexec/rtld-elf/i386/reloc.c
+++ b/libexec/rtld-elf/i386/reloc.c
@@ -519,7 +519,8 @@ allocate_initial_tls(Obj_Entry *objs)
/* GNU ABI */
__attribute__((__regparm__(1)))
-void *___tls_get_addr(tls_index *ti)
+void *
+___tls_get_addr(tls_index *ti)
{
Elf_Addr** segbase;
@@ -529,7 +530,8 @@ void *___tls_get_addr(tls_index *ti)
}
/* Sun ABI */
-void *__tls_get_addr(tls_index *ti)
+void *
+__tls_get_addr(tls_index *ti)
{
Elf_Addr** segbase;