chiark / gitweb /
Prep v239: fd-util.[hc] - Masked fd_duplicate_data_fd() - Nowhere needed.
[elogind.git] / src / basic / fd-util.h
index 8bc6c01280d730ce2947a90536c19a30fc5481c3..2e5616cb7fa05cdcab278c8862d803994b3860ce 100644 (file)
@@ -1,10 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
-/***
-  Copyright 2010 Lennart Poettering
-***/
-
 #include <dirent.h>
 #include <stdbool.h>
 #include <stdio.h>
@@ -83,7 +79,9 @@ enum {
 
 int acquire_data_fd(const void *data, size_t size, unsigned flags);
 
+#if 0 /// UNNEEDED by elogind
 int fd_duplicate_data_fd(int fd);
+#endif // 0
 
 /* Hint: ENETUNREACH happens if we try to connect to "non-existing" special IP addresses, such as ::5 */
 #define ERRNO_IS_DISCONNECT(r) \