Skip to content

Commit

Permalink
<unistd.h>: remove redundant __BSD_VISIBLE
Browse files Browse the repository at this point in the history
This bit is already inside of a larger __BSD_VISIBLE block.

Reported by:	vangyzen
  • Loading branch information
kevans91 committed Dec 15, 2019
1 parent 9d47105 commit 727b66b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,10 @@ pid_t rfork_thread(int, void *, int (*)(void *), void *);
int rresvport(int *);
int rresvport_af(int *, int);
int ruserok(const char *, int, const char *, const char *);
#if __BSD_VISIBLE
#ifndef _SELECT_DECLARED
#define _SELECT_DECLARED
int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
#endif
#endif
int setdomainname(const char *, int);
int setgroups(int, const gid_t *);
void sethostid(long);
Expand Down

0 comments on commit 727b66b

Please sign in to comment.