From aa91728a082cde784e01078944dc39e6df0877fa Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 9 Jan 2021 23:43:59 -0800 Subject: Replaced (void*) with (match_t*) in struct def --- types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'types.h') diff --git a/types.h b/types.h index 56c6e28..e497c44 100644 --- a/types.h +++ b/types.h @@ -41,6 +41,8 @@ enum VMOpcode { VM_NODENT, }; +struct match_s; // forward declared to resolve circular struct defs + /* * A struct reperesenting a BP virtual machine operation */ @@ -71,7 +73,7 @@ typedef struct vm_op_s { struct vm_op_s *capture_pat; char *name; } capture; - void *backref; + struct match_s *backref; struct vm_op_s *pat; } args; } vm_op_t; -- cgit v1.2.3