sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 0cf6a18f6fcb22acaf4f1e2ba48d43a874b5ca5f
parent 82bc92da5175c181ecf5dfb9f93eb9e9aca068bc
Author: Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
Date:   Sun, 15 Feb 2015 14:45:13 +0000

recurse: change char follow to int follow

Diffstat:
Mlibutil/recurse.c | 2+-
Mutil.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libutil/recurse.c b/libutil/recurse.c @@ -11,7 +11,7 @@ #include "../util.h" void -recurse(const char *path, void (*fn)(const char *, char), char follow) +recurse(const char *path, void (*fn)(const char *, char), int follow) { char buf[PATH_MAX]; struct dirent *d; diff --git a/util.h b/util.h @@ -60,7 +60,7 @@ mode_t getumask(void); char *humansize(double); mode_t parsemode(const char *, mode_t, mode_t); void putword(const char *); -void recurse(const char *, void (*)(const char *, char), char); +void recurse(const char *, void (*)(const char *, char), int); #undef strtonum long long strtonum(const char *, long long, long long, const char **); long long enstrtonum(int, const char *, long long, long long);