From d9a99272d21d9602ec7e134169c115aa27d956b6 Mon Sep 17 00:00:00 2001 From: Frédéric Bérat Date: Wed, 26 Apr 2023 11:48:56 +0200 Subject: misc/bits/select2.h: Clearly separate declaration from definitions The __fdelt_chk declaration needs to be available so that libc_hidden_proto can be used while not redefining __FD_ELT. Thus, misc/bits/select-decl.h is created to hold the corresponding prototypes. Reviewed-by: Siddhesh Poyarekar --- debug/fdelt_chk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'debug') diff --git a/debug/fdelt_chk.c b/debug/fdelt_chk.c index d1d3a19460..bcf8f333f9 100644 --- a/debug/fdelt_chk.c +++ b/debug/fdelt_chk.c @@ -28,3 +28,4 @@ __fdelt_chk (long int d) return d / __NFDBITS; } strong_alias (__fdelt_chk, __fdelt_warn) +libc_hidden_def (__fdelt_chk) -- cgit 1.4.1