[hackers] [sbase] recurse: change char follow to int follow || Tai Chi Minh Ralph Eastwood
commit 0a9811a137b7c0efe61d4e6ef9c2b76d266d3426
Author: Tai Chi Minh Ralph Eastwood <tcmreastwood_AT_gmail.com>
Date: Sun Feb 15 14:45:13 2015 +0000
recurse: change char follow to int follow
diff --git a/libutil/recurse.c b/libutil/recurse.c
index f2028f5..ba1bb23 100644
--- a/libutil/recurse.c
+++ b/libutil/recurse.c
_AT_@ -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
index d1970c7..5f95809 100644
--- a/util.h
+++ b/util.h
_AT_@ -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);
Received on Mon Feb 16 2015 - 16:56:49 CET
This archive was generated by hypermail 2.3.0
: Mon Feb 16 2015 - 17:00:14 CET