aboutsummaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vm.h b/vm.h
index 3470e9c..842b782 100644
--- a/vm.h
+++ b/vm.h
@@ -4,6 +4,8 @@
#ifndef VM__H
#define VM__H
+#include <stdio.h>
+
#include "types.h"
typedef enum {
@@ -17,7 +19,7 @@ match_t *match(grammar_t *g, file_t *f, const char *str, vm_op_t *op, unsigned i
__attribute__((nonnull))
void destroy_match(match_t **m);
__attribute__((nonnull))
-void print_match(file_t *f, match_t *m, print_options_t options);
+void print_match(FILE *out, file_t *f, match_t *m, print_options_t options);
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1