int fclose_nointr(FILE *f);
FILE* safe_fclose(FILE *f);
-// UNNEEDED DIR* safe_closedir(DIR *f);
+#if 0 /// UNNEEDED by elogind
+DIR* safe_closedir(DIR *f);
+#endif // 0
static inline void closep(int *fd) {
safe_close(*fd);
int close_all_fds(const int except[], unsigned n_except);
-// UNNEEDED int same_fd(int a, int b);
+#if 0 /// UNNEEDED by elogind
+int same_fd(int a, int b);
-// UNNEEDED void cmsg_close_all(struct msghdr *mh);
+void cmsg_close_all(struct msghdr *mh);
-// UNNEEDED bool fdname_is_valid(const char *s);
+bool fdname_is_valid(const char *s);
+#endif // 0