git: 287995f1086e - stable/14 - sys/link_elf.h: remove extern linkage specifier from dl_iterate_phdr() prototype

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 14 Nov 2024 00:43:04 UTC
The branch stable/14 has been updated by kib:

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

commit 287995f1086e5374cde84c2a76d0c2a31428932c
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-31 05:55:43 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-14 00:42:17 +0000

    sys/link_elf.h: remove extern linkage specifier from dl_iterate_phdr() prototype
    
    (cherry picked from commit 7cd3e2696ca357630ff591959956295da9abbe2d)
---
 sys/sys/link_elf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h
index 9752bdff55dc..7b51b3e87d1d 100644
--- a/sys/sys/link_elf.h
+++ b/sys/sys/link_elf.h
@@ -93,7 +93,7 @@ struct dl_phdr_info
 __BEGIN_DECLS
 
 typedef int (*__dl_iterate_hdr_callback)(struct dl_phdr_info *, size_t, void *);
-extern int dl_iterate_phdr(__dl_iterate_hdr_callback, void *);
+int dl_iterate_phdr(__dl_iterate_hdr_callback, void *);
 int _rtld_addr_phdr(const void *, struct dl_phdr_info *);
 int _rtld_get_stack_prot(void);
 int _rtld_is_dlopened(void *);