From cac63bfd2125b898b26b658116534ef1e1785b6c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 8 Nov 2009 21:38:38 +0100 Subject: fd_util: unexport fd_set_cloexec() This function is used only internally. --- src/fd_util.c | 2 +- src/fd_util.h | 3 --- 2 files changed, 1 insertion(+), 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 @@ -32,9 +32,6 @@ struct sockaddr; -int -fd_set_cloexec(int fd, bool enable); - int open_cloexec(const char *path_fs, int flags); -- cgit v1.2.3