diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-10-01 20:27:28 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-10-01 20:27:28 +0200 |
| commit | 3c3928fc658bddacd4e540589868bc28a8e4ca0a (patch) | |
| tree | ed201a577877cf45911983def13513d8f6b91ef8 /include | |
| parent | 4a0eb0370c4df8ee01973b50bb460560532b79f1 (diff) | |
| download | busybox-w32-3c3928fc658bddacd4e540589868bc28a8e4ca0a.tar.gz busybox-w32-3c3928fc658bddacd4e540589868bc28a8e4ca0a.tar.bz2 busybox-w32-3c3928fc658bddacd4e540589868bc28a8e4ca0a.zip | |
tydy up a few uses of recursive_action(), no logic changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index 3e23b5bbd..8b84d13a0 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -437,15 +437,15 @@ enum { | |||
| 437 | ACTION_FOLLOWLINKS = (1 << 1), | 437 | ACTION_FOLLOWLINKS = (1 << 1), |
| 438 | ACTION_FOLLOWLINKS_L0 = (1 << 2), | 438 | ACTION_FOLLOWLINKS_L0 = (1 << 2), |
| 439 | ACTION_DEPTHFIRST = (1 << 3), | 439 | ACTION_DEPTHFIRST = (1 << 3), |
| 440 | /*ACTION_REVERSE = (1 << 4), - unused */ | 440 | ACTION_QUIET = (1 << 4), |
| 441 | ACTION_QUIET = (1 << 5), | 441 | ACTION_DANGLING_OK = (1 << 5), |
| 442 | ACTION_DANGLING_OK = (1 << 6), | ||
| 443 | }; | 442 | }; |
| 444 | typedef uint8_t recurse_flags_t; | 443 | typedef uint8_t recurse_flags_t; |
| 445 | extern int recursive_action(const char *fileName, unsigned flags, | 444 | extern int recursive_action(const char *fileName, unsigned flags, |
| 446 | int FAST_FUNC (*fileAction)(const char *fileName, struct stat* statbuf, void* userData, int depth), | 445 | int FAST_FUNC (*fileAction)(const char *fileName, struct stat* statbuf, void* userData, int depth), |
| 447 | int FAST_FUNC (*dirAction)(const char *fileName, struct stat* statbuf, void* userData, int depth), | 446 | int FAST_FUNC (*dirAction)(const char *fileName, struct stat* statbuf, void* userData, int depth), |
| 448 | void* userData, unsigned depth) FAST_FUNC; | 447 | void* userData, unsigned depth) FAST_FUNC; |
| 448 | |||
| 449 | extern int device_open(const char *device, int mode) FAST_FUNC; | 449 | extern int device_open(const char *device, int mode) FAST_FUNC; |
| 450 | enum { GETPTY_BUFSIZE = 16 }; /* more than enough for "/dev/ttyXXX" */ | 450 | enum { GETPTY_BUFSIZE = 16 }; /* more than enough for "/dev/ttyXXX" */ |
| 451 | extern int xgetpty(char *line) FAST_FUNC; | 451 | extern int xgetpty(char *line) FAST_FUNC; |
