mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
glob.h: Limit glob_b prototype visibility
Hide glob_b behind __BSD_VISIBLE as it is not a POSIX function.
Reported by: kib
Reviewed by: kib
Fixes: 1e0743f54d ("glob: Add blocks support")
Differential Revision: https://reviews.freebsd.org/D50670
This commit is contained in:
parent
a40d73475b
commit
8bc0b97e19
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ typedef struct {
|
|||
__BEGIN_DECLS
|
||||
int glob(const char * __restrict, int,
|
||||
int (*)(const char *, int), glob_t * __restrict);
|
||||
#ifdef __BLOCKS__
|
||||
#if defined(__BLOCKS__) && __BSD_VISIBLE
|
||||
int glob_b(const char * __restrict, int,
|
||||
int (^)(const char *, int), glob_t * __restrict);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue