aboutsummaryrefslogtreecommitdiff
path: root/debug/fdelt_chk.c
diff options
context:
space:
mode:
authorFrédéric Bérat <fberat@redhat.com>2023-04-26 11:48:56 +0200
committerFrédéric Bérat <fberat@redhat.com>2023-07-05 16:59:48 +0200
commitd9a99272d21d9602ec7e134169c115aa27d956b6 (patch)
tree6bb242aeb33954c6a524a76fea7491b4783e0e72 /debug/fdelt_chk.c
parentb17d65ff927241d2bc36cbfe258431bec2ffad1b (diff)
downloadglibc-d9a99272d21d9602ec7e134169c115aa27d956b6.zip
glibc-d9a99272d21d9602ec7e134169c115aa27d956b6.tar.gz
glibc-d9a99272d21d9602ec7e134169c115aa27d956b6.tar.bz2
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 <siddhesh@sourceware.org>
Diffstat (limited to 'debug/fdelt_chk.c')
-rw-r--r--debug/fdelt_chk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/fdelt_chk.c b/debug/fdelt_chk.c
index d1d3a19..bcf8f33 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)