git: 180df764c4ee - main - rtld: remove pointless "extern"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 00:29:22 UTC
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