aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fstree.h9
-rw-r--r--include/util.h9
2 files changed, 9 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.
diff --git a/include/util.h b/include/util.h
index 5fb5f9b..26c54e2 100644
--- a/include/util.h
+++ b/include/util.h
@@ -123,4 +123,13 @@ void *alloc_array(size_t item_size, size_t nmemb);
SQFS_INTERNAL
void *alloc_string(size_t len);
+/*
+ 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 */