diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-03-16 23:01:00 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-03-16 23:02:33 -0400 |
commit | c85f569daf3e0e99c9e8941d0234711afdb58cd7 (patch) | |
tree | 347db11ddb49f1f256d7d0f3f24dc15059318e8c /bfs.h | |
parent | a7c51baacf0867b1089f683b05811744f01a70af (diff) | |
download | bfs-c85f569daf3e0e99c9e8941d0234711afdb58cd7.tar.xz |
Give struct expr a CFILE* instead of just a FILE*
This unifies the behaviour of -print and -fprint /dev/stdout.
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -245,7 +245,7 @@ struct expr { ino_t ino; /** File to output to. */ - FILE *file; + CFILE *cfile; /** Optional -exec flags. */ enum exec_flags exec_flags; @@ -322,7 +322,6 @@ bool eval_fls(const struct expr *expr, struct eval_state *state); bool eval_fprint(const struct expr *expr, struct eval_state *state); bool eval_fprint0(const struct expr *expr, struct eval_state *state); bool eval_fprintf(const struct expr *expr, struct eval_state *state); -bool eval_print(const struct expr *expr, struct eval_state *state); bool eval_prune(const struct expr *expr, struct eval_state *state); bool eval_quit(const struct expr *expr, struct eval_state *state); |