summaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-24 17:16:06 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-24 17:16:06 +0100
commit0709d31d5ef3ec19331abcd97545add26b7b0e13 (patch)
tree4895cc87c32df9ea2ee1707951ee85019b90536c /include/util
parent3c79472a773210127bec1768aaf85e540daa3f9f (diff)
Cleanup: move canonicalize_name back to libfstree.a
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/util')
-rw-r--r--include/util/util.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/util/util.h b/include/util/util.h
index a133067..7aa4f31 100644
--- a/include/util/util.h
+++ b/include/util/util.h
@@ -33,13 +33,4 @@ void *alloc_flex(size_t base_size, size_t item_size, size_t nmemb);
SQFS_INTERNAL
void *alloc_array(size_t item_size, size_t nmemb);
-/*
- Convert back to forward slashed, remove all preceeding and trailing slashes,
- collapse all sequences of slashes, remove all path components that are '.'
- and returns failure state if one of the path components is '..'.
-
- Returns 0 on success.
-*/
-SQFS_INTERNAL int canonicalize_name(char *filename);
-
#endif /* UTIL_H */