diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-20 03:52:49 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-20 18:34:17 +0200 |
commit | c106a290ed07fa89b39072925b1a2258071511a8 (patch) | |
tree | 973dc9a4d7eceec0925ee9196d7683cb396d83f2 /include | |
parent | 9486151f186e3664c8dd429fba94f9e539377d87 (diff) |
Large round of dead code removal
Remove all the library functions that no longer have any users.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r-- | include/fstree.h | 6 | ||||
-rw-r--r-- | include/highlevel.h | 3 | ||||
-rw-r--r-- | include/util.h | 7 |
3 files changed, 0 insertions, 16 deletions
diff --git a/include/fstree.h b/include/fstree.h index a93fd7c..4c68afe 100644 --- a/include/fstree.h +++ b/include/fstree.h @@ -280,18 +280,12 @@ void fstree_gen_file_list(fstree_t *fs); */ char *fstree_get_path(tree_node_t *node); -/* get a struct stat from a tree node */ -void fstree_node_stat(fstree_t *fs, tree_node_t *node, struct stat *sb); - /* ASCIIbetically sort a linked list of tree nodes */ tree_node_t *tree_node_list_sort(tree_node_t *head); /* ASCIIbetically sort all sub directories recursively */ void tree_node_sort_recursive(tree_node_t *root); -/* resolve a path to a tree node. Returns NULL on failure and sets errno */ -tree_node_t *fstree_node_from_path(fstree_t *fs, const char *path); - /* 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, diff --git a/include/highlevel.h b/include/highlevel.h index 6d4b4e6..5067c07 100644 --- a/include/highlevel.h +++ b/include/highlevel.h @@ -104,9 +104,6 @@ int compressor_cfg_init_options(sqfs_compressor_config_t *cfg, void compressor_print_help(E_SQFS_COMPRESSOR id); -int xattr_reader_restore_node(sqfs_xattr_reader_t *xr, fstree_t *fs, - tree_node_t *node, uint32_t xattr); - sqfs_inode_generic_t *tree_node_to_inode(fstree_t *fs, sqfs_id_table_t *idtbl, tree_node_t *node); diff --git a/include/util.h b/include/util.h index 26c54e2..ab57c04 100644 --- a/include/util.h +++ b/include/util.h @@ -58,13 +58,6 @@ SQFS_INTERNAL int read_data(const char *errstr, int fd, void *buffer, size_t size); /* - Similar to read_data but wrapps pread() instead of read(). -*/ -SQFS_INTERNAL -int read_data_at(const char *errstr, off_t location, - int fd, void *buffer, size_t size); - -/* A common implementation of the '--version' command line flag. Prints out version information. The program name is extracted from the |