summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sources.c4
1 files 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;
}