misc/bits/select2.h: Clearly separate declaration from definitions
authorFrédéric Bérat <fberat@redhat.com>
Wed, 26 Apr 2023 09:48:56 +0000 (11:48 +0200)
committerFrédéric Bérat <fberat@redhat.com>
Wed, 5 Jul 2023 14:59:48 +0000 (16:59 +0200)
commitd9a99272d21d9602ec7e134169c115aa27d956b6
tree6bb242aeb33954c6a524a76fea7491b4783e0e72
parentb17d65ff927241d2bc36cbfe258431bec2ffad1b
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>
debug/fdelt_chk.c
include/bits/select-decl.h [new file with mode: 0644]
include/sys/select.h
misc/Makefile
misc/bits/select-decl.h [new file with mode: 0644]
misc/bits/select2.h