aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_lfiles.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-08 02:05:51 +0000
committerjozan <jozan@noemail.net>2020-11-08 02:05:51 +0000
commitbe1b76dd2dd7271d9dc0f2b40a153da7d46b468f (patch)
tree42434a7edc55704563f5d9731f94f3eaa2aad394 /src/c_lfiles.c
parentNice format, now subst (diff)
downloadunixize-be1b76dd2dd7271d9dc0f2b40a153da7d46b468f.tar.gz
unixize-be1b76dd2dd7271d9dc0f2b40a153da7d46b468f.tar.bz2
unixize-be1b76dd2dd7271d9dc0f2b40a153da7d46b468f.tar.xz
unixize-be1b76dd2dd7271d9dc0f2b40a153da7d46b468f.tar.zst
unixize-be1b76dd2dd7271d9dc0f2b40a153da7d46b468f.zip
In progress
FossilOrigin-Name: fe483e3e811a959abf872390f4b4d92e707b30b1597b7616343d9e9c85e871e1
Diffstat (limited to 'src/c_lfiles.c')
-rw-r--r--src/c_lfiles.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/c_lfiles.c b/src/c_lfiles.c
index 36976b6..cffe974 100644
--- a/src/c_lfiles.c
+++ b/src/c_lfiles.c
@@ -116,30 +116,6 @@ c_lfiles_new
}
struct lfiles_s*
-c_lfiles_duplicate(struct lfiles_s** head)
-{
- struct lfiles_s* dup_head;
- struct lfiles_s* dup_link;
- struct lfiles_s* origin;
-
- dup_head = NULL;
- if (head == NULL) {
- return (NULL);
- }
- origin = *head;
- while (origin != NULL) {
- dup_link = c_lfiles_new(origin->filename, origin->filetype);
- if (dup_link == NULL) {
- u_dump_errno();
- return (NULL);
- }
- origin = origin->next;
- c_lfiles_add_back(&dup_head, dup_link);
- }
- return (dup_head);
-}
-
-struct lfiles_s*
c_lfiles_gather(void)
{
DIR* dirp;