summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-07-27 17:52:54 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-07-27 17:52:54 -0400
commit0d41d68b8d907cf1246645a01b43b839e5dbe44b (patch)
tree24563920dd3c6f3215e205146cb35ced65a04760
parentc2d2baf3e00fbedf213ca730a5931c236acfede7 (diff)
downloadbfs-0d41d68b8d907cf1246645a01b43b839e5dbe44b.tar.xz
expr: Remove unneeded forward declaration of struct expr
-rw-r--r--expr.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/expr.h b/expr.h
index c8c8ce0..c25d1ca 100644
--- a/expr.h
+++ b/expr.h
@@ -33,11 +33,6 @@
#include <time.h>
/**
- * A command line expression.
- */
-struct expr;
-
-/**
* Possible types of numeric comparison.
*/
enum cmp_flag {
@@ -95,6 +90,9 @@ enum size_unit {
SIZE_PB,
};
+/**
+ * A command line expression.
+ */
struct expr {
/** The function that evaluates this expression. */
eval_fn *eval;