summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/path.h
diff options
context:
space:
mode:
authordzwdz2022-08-05 14:01:42 +0200
committerdzwdz2022-08-05 14:01:42 +0200
commit27124aab29d54ba9f228dee18a48e903e222812a (patch)
tree7e4848516eca5ad581cd2d5282d28797eae0472b /src/kernel/vfs/path.h
parent749a150e37fbfdaf33a8d6738e95306e6d95e8b5 (diff)
move path_simplify to shared code, move its tests to userland
Diffstat (limited to 'src/kernel/vfs/path.h')
-rw-r--r--src/kernel/vfs/path.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/kernel/vfs/path.h b/src/kernel/vfs/path.h
deleted file mode 100644
index 7484619..0000000
--- a/src/kernel/vfs/path.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#pragma once
-#include <camellia/path.h>
-#include <stddef.h>
-
-/** Reduce a path to its simplest form.
- *
- * @return length of the string in *out, always less than len. Negative if the path was invalid.
- */
-int path_simplify(const char *in, char *out, size_t len);