recurse: change char follow to int follow
This commit is contained in:
parent
82bc92da51
commit
0cf6a18f6f
@ -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
2
util.h
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user