From 0709d31d5ef3ec19331abcd97545add26b7b0e13 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 24 Nov 2019 17:16:06 +0100 Subject: Cleanup: move canonicalize_name back to libfstree.a Signed-off-by: David Oberhollenzer --- include/util/util.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/util/util.h') 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 */ -- cgit v1.2.3