summaryrefslogtreecommitdiffstats
path: root/ctx.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-03-25 13:53:47 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-03-25 13:56:12 -0400
commit30e55d140074749809c419bba2a1a9fd1a4c7de9 (patch)
tree371d05089e2598d5503a2d49970d330eb210b83d /ctx.h
parent339be35aeec3492b895c7779ad4cc8562162dbee (diff)
downloadbfs-30e55d140074749809c419bba2a1a9fd1a4c7de9.tar.xz
expr: Store auxilliary data in a union
And rename struct expr to bfs_expr.
Diffstat (limited to 'ctx.h')
-rw-r--r--ctx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctx.h b/ctx.h
index 8f8101d..5d0daba 100644
--- a/ctx.h
+++ b/ctx.h
@@ -62,9 +62,9 @@ struct bfs_ctx {
/** The root paths. */
const char **paths;
/** The main command line expression. */
- struct expr *expr;
+ struct bfs_expr *expr;
/** An expression for files to filter out. */
- struct expr *exclude;
+ struct bfs_expr *exclude;
/** -mindepth option. */
int mindepth;