diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-01-14 16:22:33 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-01-14 16:22:33 -0500 |
commit | a649902a5fa065b5f4dfd32f8852428c0827d026 (patch) | |
tree | 08ed2c6fa33feaad8275bebd0d63107d2349e365 /sources.c | |
parent | bb910c050b3f3379b5b600c6259508fdba93352a (diff) |
rename addfile() to add_source() to avoid debugging confusion
Diffstat (limited to 'sources.c')
-rw-r--r-- | sources.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ static struct majefile *filelist = NULL; static struct majefile *tail = NULL; -static int addfile(const char *path, const struct stat *st, int flags, struct FTW *ft) +static int add_source(const char *path, const struct stat *st, int flags, struct FTW *ft) { (void)flags; (void)ft; @@ -40,6 +40,6 @@ static int addfile(const char *path, const struct stat *st, int flags, struct FT struct majefile * find_source_files(const char *dir) { - nftw(dir, addfile, -1, 0); + nftw(dir, add_source, -1, 0); return filelist; } |