diff options
author | jozan <jozan@noemail.net> | 2020-11-08 02:35:25 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-08 02:35:25 +0000 |
commit | a6414d2d8d7243bb9801ac8f45e7e75b3bb76087 (patch) | |
tree | d7f1a9d75d9ca7daee673518e6b0156e428194e2 | |
parent | In progress (diff) | |
download | unixize-a6414d2d8d7243bb9801ac8f45e7e75b3bb76087.tar.gz unixize-a6414d2d8d7243bb9801ac8f45e7e75b3bb76087.tar.bz2 unixize-a6414d2d8d7243bb9801ac8f45e7e75b3bb76087.tar.xz unixize-a6414d2d8d7243bb9801ac8f45e7e75b3bb76087.tar.zst unixize-a6414d2d8d7243bb9801ac8f45e7e75b3bb76087.zip |
Substitution in progress
FossilOrigin-Name: c00dcf96480c4c13d6bda9f25daf2ed54856a8f2327dac20b30660c76c5b0443
-rw-r--r-- | src/c_lfiles.c | 4 | ||||
-rw-r--r-- | src/c_lfiles.h | 2 | ||||
-rw-r--r-- | src/c_unixize.c | 2 |
3 files changed, 5 insertions, 3 deletions
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); |