aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/fd_util.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 17:07:52 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 17:07:52 +0100
commit818d729d8b60a682e267ac408c710f5851389d79 (patch)
tree9b65bac6175c1999901efec3af959c2ad802e7b9 /src/system/fd_util.h
parentdd5daa0767c806b4027482f589ff1e9676b413e4 (diff)
downloadmpd-818d729d8b60a682e267ac408c710f5851389d79.tar.gz
mpd-818d729d8b60a682e267ac408c710f5851389d79.tar.xz
mpd-818d729d8b60a682e267ac408c710f5851389d79.zip
system/fd_util: remove unused functions
Diffstat (limited to 'src/system/fd_util.h')
-rw-r--r--src/system/fd_util.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/system/fd_util.h b/src/system/fd_util.h
index 5b95cbc4f..02e959a8e 100644
--- a/src/system/fd_util.h
+++ b/src/system/fd_util.h
@@ -55,13 +55,6 @@ int
fd_set_cloexec(int fd, bool enable);
/**
- * Wrapper for dup(), which sets the CLOEXEC flag on the new
- * descriptor.
- */
-int
-dup_cloexec(int oldfd);
-
-/**
* Wrapper for open(), which sets the CLOEXEC flag (atomically if
* supported by the OS).
*/
@@ -71,13 +64,6 @@ open_cloexec(const char *path_fs, int flags, int mode);
/**
* Wrapper for pipe(), which sets the CLOEXEC flag (atomically if
* supported by the OS).
- */
-int
-pipe_cloexec(int fd[2]);
-
-/**
- * Wrapper for pipe(), which sets the CLOEXEC flag (atomically if
- * supported by the OS).
*
* On systems that supports it (everybody except for Windows), it also
* sets the NONBLOCK flag.
@@ -85,24 +71,6 @@ pipe_cloexec(int fd[2]);
int
pipe_cloexec_nonblock(int fd[2]);
-#ifndef WIN32
-
-/**
- * Wrapper for socketpair(), which sets the CLOEXEC flag (atomically
- * if supported by the OS).
- */
-int
-socketpair_cloexec(int domain, int type, int protocol, int sv[2]);
-
-/**
- * Wrapper for socketpair(), which sets the flags CLOEXEC and NONBLOCK
- * (atomically if supported by the OS).
- */
-int
-socketpair_cloexec_nonblock(int domain, int type, int protocol, int sv[2]);
-
-#endif
-
#ifdef ENABLE_LIBMPDCLIENT
/* Avoid symbol conflict with statically linked libmpdclient */
#define socket_cloexec_nonblock socket_cloexec_nonblock_noconflict
@@ -123,20 +91,6 @@ int
accept_cloexec_nonblock(int fd, struct sockaddr *address,
size_t *address_length_r);
-
-#ifndef WIN32
-
-struct msghdr;
-
-/**
- * Wrapper for recvmsg(), which sets the CLOEXEC flag (atomically if
- * supported by the OS).
- */
-ssize_t
-recvmsg_cloexec(int sockfd, struct msghdr *msg, int flags);
-
-#endif
-
#ifdef HAVE_INOTIFY_INIT
/**