aboutsummaryrefslogtreecommitdiff
path: root/include/fstree.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-19 23:51:03 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 03:57:32 +0200
commit5dcd267e9f0c5d93793e6d5e68279bd5dde5dff6 (patch)
tree6e45f14cce5b468c2f9b23d7921acff60bd27eb0 /include/fstree.h
parent336a05a544ea8773653faa9a9d5078afaa839ff2 (diff)
Move canonicalize_name back to libutil
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/fstree.h')
-rw-r--r--include/fstree.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/fstree.h b/include/fstree.h
index 426964d..a93fd7c 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -293,15 +293,6 @@ void tree_node_sort_recursive(tree_node_t *root);
tree_node_t *fstree_node_from_path(fstree_t *fs, const char *path);
/*
- 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.
-*/
-int canonicalize_name(char *filename);
-
-/*
If the environment variable SOURCE_DATE_EPOCH is set to a parsable number
that fits into an unsigned 32 bit value, return its value. Otherwise,
default to 0.