From 0a246310f79b26f3c07f342d4eeb682896c2e44f Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 20 Feb 2024 16:25:48 +0200 Subject: [PATCH] rtld: remove pointless "extern" (cherry picked from commit 180df764c4ee570850deb4a910a11780ec3316df) --- libexec/rtld-elf/rtld-libc/rtld_libc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rtld-elf/rtld-libc/rtld_libc.c b/libexec/rtld-elf/rtld-libc/rtld_libc.c index ef61c2b094b..694aee36350 100644 --- a/libexec/rtld-elf/rtld-libc/rtld_libc.c +++ b/libexec/rtld-elf/rtld-libc/rtld_libc.c @@ -105,7 +105,7 @@ getpagesize(void) return (page_size); } -extern int __sys___sysctl(const int *name, u_int namelen, void *oldp, +int __sys___sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp, const void *newp, size_t newlen); int