diff options
Diffstat (limited to 'src')
-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); |