chiark / gitweb /
Prep v239: path-util.[hc] - Masked path_simplify_and_warn() - Nowhere needed.
[elogind.git] / src / basic / path-util.c
index a0a2857d35f17d470878c2c0b8c4e2ad9d176061..12e91c40a6e206ef6cd7034dd7f4c23ecf85ce00 100644 (file)
@@ -1,7 +1,4 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
-/***
-  Copyright 2010-2012 Lennart Poettering
-***/
 
 #include <errno.h>
 #include <limits.h>
@@ -1018,6 +1015,7 @@ bool empty_or_root(const char *root) {
         return root[strspn(root, "/")] == 0;
 }
 
+#if 0 /// UNNEEDED by elogind
 int path_simplify_and_warn(
                 char *path,
                 unsigned flag,
@@ -1064,3 +1062,4 @@ int path_simplify_and_warn(
 
         return 0;
 }
+#endif // 0