system/fd_util: remove unused function socket_cloexec_nonblock()
This commit is contained in:
@@ -71,18 +71,6 @@ open_cloexec(const char *path_fs, int flags, int mode);
|
||||
int
|
||||
pipe_cloexec_nonblock(int fd[2]);
|
||||
|
||||
#ifdef ENABLE_LIBMPDCLIENT
|
||||
/* Avoid symbol conflict with statically linked libmpdclient */
|
||||
#define socket_cloexec_nonblock socket_cloexec_nonblock_noconflict
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Wrapper for socket(), which sets the CLOEXEC and the NONBLOCK flag
|
||||
* (atomically if supported by the OS).
|
||||
*/
|
||||
int
|
||||
socket_cloexec_nonblock(int domain, int type, int protocol);
|
||||
|
||||
/**
|
||||
* Wrapper for accept(), which sets the CLOEXEC and the NONBLOCK flags
|
||||
* (atomically if supported by the OS).
|
||||
|
Reference in New Issue
Block a user