chiark / gitweb /
Prep v238: Uncomment now needed headers and unmask now needed functions in src/basic...
[elogind.git] / src / basic / fd-util.c
index c67d4243a30dc858538205189ec9e426087facaf..1196b4df987575c740a5de5c98e6cfe0494e428d 100644 (file)
@@ -362,6 +362,7 @@ bool fdname_is_valid(const char *s) {
 
         return p - s < 256;
 }
+#endif // 0
 
 int fd_get_path(int fd, char **ret) {
         char procfs_path[STRLEN("/proc/self/fd/") + DECIMAL_STR_MAX(int)];
@@ -376,7 +377,6 @@ int fd_get_path(int fd, char **ret) {
 
         return r;
 }
-#endif // 0
 
 int move_fd(int from, int to, int cloexec) {
         int r;