git: 7cd3e2696ca3 - main - sys/link_elf.h: remove extern linkage specifier from dl_iterate_phdr() prototype

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 07 Nov 2024 05:20:32 UTC
The branch main has been updated by kib:

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

commit 7cd3e2696ca357630ff591959956295da9abbe2d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-31 05:55:43 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-07 05:14:38 +0000

    sys/link_elf.h: remove extern linkage specifier from dl_iterate_phdr() prototype
    
    Reviewed by:    brooks
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D47351
---
 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 *);