Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2024 00:29:22 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 180df764c4ee - main - rtld: remove pointless "extern"
Message-ID:  <202402210029.41L0TMC1000135@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

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

commit 180df764c4ee570850deb4a910a11780ec3316df
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-02-20 14:25:48 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-02-21 00:26:10 +0000

    rtld: remove pointless "extern"
    
    Reviewed by:    brooks, imp
    Sponsored by:   The FreeBSD Foundation
    Differential revision:  https://reviews.freebsd.org/D43985
---
 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 c4feab5e184d..a5371de394e9 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402210029.41L0TMC1000135>