recurse: change char follow to int follow

This commit is contained in:
Tai Chi Minh Ralph Eastwood 2015-02-15 14:45:13 +00:00 committed by sin
parent 82bc92da51
commit 0cf6a18f6f
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
#include "../util.h" #include "../util.h"
void 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]; char buf[PATH_MAX];
struct dirent *d; struct dirent *d;

2
util.h
View File

@ -60,7 +60,7 @@ mode_t getumask(void);
char *humansize(double); char *humansize(double);
mode_t parsemode(const char *, mode_t, mode_t); mode_t parsemode(const char *, mode_t, mode_t);
void putword(const char *); void putword(const char *);
void recurse(const char *, void (*)(const char *, char), char); void recurse(const char *, void (*)(const char *, char), int);
#undef strtonum #undef strtonum
long long strtonum(const char *, long long, long long, const char **); long long strtonum(const char *, long long, long long, const char **);
long long enstrtonum(int, const char *, long long, long long); long long enstrtonum(int, const char *, long long, long long);