core: Add CAV_PASSES define

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-02-09 17:00:55 -05:00
parent 931850beac
commit cc0825af68

View File

@@ -7,6 +7,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <string.h> #include <string.h>
#define CAV_PASSES 3
#define CAV_VERSION "0.0.1" #define CAV_VERSION "0.0.1"
static const char *input_name = NULL; static const char *input_name = NULL;
@@ -199,7 +200,7 @@ main(int argc, char **argv)
* pass 1): Construct an offset table using what we know * pass 1): Construct an offset table using what we know
* pass 2): Construct the archive segments * pass 2): Construct the archive segments
*/ */
for (int i = 0; i < 2; ++i) { for (int i = 0; i < CAV_PASSES; ++i) {
consume_pass(&state); consume_pass(&state);
} }