diff options
author | Max Kellermann <max@duempel.org> | 2009-11-08 21:38:38 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-08 21:38:38 +0100 |
commit | cac63bfd2125b898b26b658116534ef1e1785b6c (patch) | |
tree | 61e219922f6af97e5c2bf258b2e1ded1e3210dfd /src | |
parent | 1573ea1485e809557bd9c8777a794d394fbc79c7 (diff) | |
download | mpd-cac63bfd2125b898b26b658116534ef1e1785b6c.tar.gz mpd-cac63bfd2125b898b26b658116534ef1e1785b6c.tar.xz mpd-cac63bfd2125b898b26b658116534ef1e1785b6c.zip |
fd_util: unexport fd_set_cloexec()
This function is used only internally.
Diffstat (limited to '')
-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 |