From a6414d2d8d7243bb9801ac8f45e7e75b3bb76087 Mon Sep 17 00:00:00 2001 From: jozan Date: Sun, 8 Nov 2020 02:35:25 +0000 Subject: Substitution in progress FossilOrigin-Name: c00dcf96480c4c13d6bda9f25daf2ed54856a8f2327dac20b30660c76c5b0443 --- src/c_lfiles.c | 4 ++-- src/c_lfiles.h | 2 ++ src/c_unixize.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/c_lfiles.c b/src/c_lfiles.c index cffe974..98a69e2 100644 --- a/src/c_lfiles.c +++ b/src/c_lfiles.c @@ -57,7 +57,7 @@ #include "c_unixize.h" #include "u_utils.h" -static void +void c_lfiles_add_back (struct lfiles_s** head, struct lfiles_s* new) @@ -94,7 +94,7 @@ c_lfiles_clear(struct lfiles_s** head) *head = NULL; } -static struct lfiles_s* +struct lfiles_s* c_lfiles_new (const char filename[], unsigned char filetype) diff --git a/src/c_lfiles.h b/src/c_lfiles.h index f754553..3dec049 100644 --- a/src/c_lfiles.h +++ b/src/c_lfiles.h @@ -48,7 +48,9 @@ #include "c_unixize.h" +void c_lfiles_add_back(struct lfiles_s**, struct lfiles_s*); void c_lfiles_clear(struct lfiles_s**); +struct lfiles_s* c_lfiles_new(const char[], unsigned char); struct lfiles_s* c_lfiles_gather(void); #endif /* end of include guard: __C_LFILES_H__ */ diff --git a/src/c_unixize.c b/src/c_unixize.c index c1fdec0..e2e3216 100644 --- a/src/c_unixize.c +++ b/src/c_unixize.c @@ -94,7 +94,7 @@ main if (og_files == NULL) { return (0); } - new_files = c_subst_filenames(opts.hyphen, og_files); + new_files = c_subst_filenames(og_files, opts.hyphen); if (new_files == NULL) { c_lfiles_clear(&og_files); return (1); -- cgit v1.2.3