From 655ed121289c0befa2c87f7a6a2db3409f54094c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 20 May 2021 15:27:24 -0700 Subject: Mostly working version --- pattern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pattern.h') diff --git a/pattern.h b/pattern.h index b38486d..e9bebf7 100644 --- a/pattern.h +++ b/pattern.h @@ -8,7 +8,7 @@ #include "types.h" __attribute__((returns_nonnull, nonnull(1,2))) -pat_t *new_pat(file_t *f, const char *start, const char *end, ssize_t len, enum pattype_e type); +pat_t *new_pat(file_t *f, const char *start, const char *end, size_t minlen, ssize_t maxlen, enum pattype_e type); __attribute__((nonnull(1,2))) pat_t *bp_stringpattern(file_t *f, const char *str); __attribute__((nonnull(1,2))) -- cgit v1.2.3