git: f61ecf60cfce - main - rtld/x86/reloc.c: style

Konstantin Belousov kib at FreeBSD.org
Fri Apr 9 20:47:06 UTC 2021


The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=f61ecf60cfce6172df803a9e5e099aab2d4aedcd

commit f61ecf60cfce6172df803a9e5e099aab2d4aedcd
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-04-07 06:12:10 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-04-09 20:46:23 +0000

    rtld/x86/reloc.c: style
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D29623
---
 libexec/rtld-elf/amd64/reloc.c | 3 ++-
 libexec/rtld-elf/i386/reloc.c  | 6 ++++--
 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;
 


More information about the dev-commits-src-all mailing list