X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Ffd-util.h;h=0d742b50b24c798c94813dd32a0cb4b3180d2054;hp=0e9182d75be165fbc2a59892ac281ac6785f3fba;hb=bccdfb431a266e7671d518fd5a42362a5ce724c9;hpb=94c5f7fa9e34517edad75cd63d71dd459ec4f133 diff --git a/src/basic/fd-util.h b/src/basic/fd-util.h index 0e9182d75..0d742b50b 100644 --- a/src/basic/fd-util.h +++ b/src/basic/fd-util.h @@ -40,7 +40,7 @@ void close_many(const int fds[], unsigned n_fd); int fclose_nointr(FILE *f); FILE* safe_fclose(FILE *f); -DIR* safe_closedir(DIR *f); +// UNNEEDED DIR* safe_closedir(DIR *f); static inline void closep(int *fd) { safe_close(*fd); @@ -68,8 +68,8 @@ int fd_cloexec(int fd, bool cloexec); int close_all_fds(const int except[], unsigned n_except); -int same_fd(int a, int b); +// UNNEEDED int same_fd(int a, int b); -void cmsg_close_all(struct msghdr *mh); +// UNNEEDED void cmsg_close_all(struct msghdr *mh); -bool fdname_is_valid(const char *s); +// UNNEEDED bool fdname_is_valid(const char *s);