git: 38e0610df7d5 - main - rtld_lock.h: remove tautological extern's

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


The branch main has been updated by kib:

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

commit 38e0610df7d5cd5ddd43a477c139ec6ce342c5c2
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-04-05 04:11:49 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-04-09 20:46:23 +0000

    rtld_lock.h: remove tautological extern's
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D29623
---
 libexec/rtld-elf/rtld_lock.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libexec/rtld-elf/rtld_lock.h b/libexec/rtld-elf/rtld_lock.h
index 339028c568dc..cc1fd83169f8 100644
--- a/libexec/rtld-elf/rtld_lock.h
+++ b/libexec/rtld-elf/rtld_lock.h
@@ -46,9 +46,9 @@ struct RtldLockInfo
 	void  (*at_fork)(void);
 };
 
-extern void _rtld_thread_init(struct RtldLockInfo *) __exported;
-extern void _rtld_atfork_pre(int *) __exported;
-extern void _rtld_atfork_post(int *) __exported;
+void _rtld_thread_init(struct RtldLockInfo *) __exported;
+void _rtld_atfork_pre(int *) __exported;
+void _rtld_atfork_post(int *) __exported;
 
 #ifdef IN_RTLD
 


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