libc: bsort_s() requires both __BSD_VISIBLE and __EXT1_VISIBLE
Fixes build of Python: /usr/include/stdlib.h:409:1: error: unknown type name 'errno_t' errno_t bsort_s(void *, rsize_t, rsize_t, Reported by: vishwin@ MFC after: 1 week Sponsored by: NVIDIA Networking Differential Revision: https://reviews.freebsd.org/D36493
This commit is contained in:
parent
0e0c47ecd6
commit
a7469c9c0a
@ -403,12 +403,12 @@ void ignore_handler_s(const char * __restrict, void * __restrict, errno_t);
|
||||
/* K.3.6.3.2 */
|
||||
errno_t qsort_s(void *, rsize_t, rsize_t,
|
||||
int (*)(const void *, const void *, void *), void *);
|
||||
#endif /* __EXT1_VISIBLE */
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
errno_t bsort_s(void *, rsize_t, rsize_t,
|
||||
int (*)(const void *, const void *, void *), void *);
|
||||
#endif /* __BSD_VISIBLE */
|
||||
#endif /* __EXT1_VISIBLE */
|
||||
|
||||
__END_DECLS
|
||||
__NULLABILITY_PRAGMA_POP
|
||||
|
Loading…
Reference in New Issue
Block a user