From a649902a5fa065b5f4dfd32f8852428c0827d026 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Jan 2020 16:22:33 -0500 Subject: rename addfile() to add_source() to avoid debugging confusion --- sources.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources.c b/sources.c index 171de68..22d71a2 100644 --- a/sources.c +++ b/sources.c @@ -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; } -- cgit v1.2.1