diff options
-rw-r--r-- | src/fd_util.c | 2 | ||||
-rw-r--r-- | src/fd_util.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/fd_util.c b/src/fd_util.c index 9137e6e3b..a8be69be7 100644 --- a/src/fd_util.c +++ b/src/fd_util.c @@ -57,7 +57,7 @@ fd_mask_flags(int fd, int and_mask, int xor_mask) #endif /* !WIN32 */ -int +static int fd_set_cloexec(int fd, bool enable) { #ifndef WIN32 diff --git a/src/fd_util.h b/src/fd_util.h index 99479a0cf..64eb0c851 100644 --- a/src/fd_util.h +++ b/src/fd_util.h @@ -33,9 +33,6 @@ struct sockaddr; int -fd_set_cloexec(int fd, bool enable); - -int open_cloexec(const char *path_fs, int flags); int |