diff options
Diffstat (limited to 'gnu/usr.bin/grep/dfa.h')
-rw-r--r-- | gnu/usr.bin/grep/dfa.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/grep/dfa.h b/gnu/usr.bin/grep/dfa.h index 4cdbe7a..014f1b3 100644 --- a/gnu/usr.bin/grep/dfa.h +++ b/gnu/usr.bin/grep/dfa.h @@ -24,6 +24,8 @@ In addition to clobbering modularity, we eat up valuable name space. */ +#include "mbcache.h" + #ifdef __STDC__ # ifndef _PTR_T # define _PTR_T @@ -405,7 +407,8 @@ extern void dfacomp PARAMS ((char const *, size_t, struct dfa *, int)); order to verify backreferencing; otherwise the flag will be cleared. Returns (size_t) -1 if no match is found, or the offset of the first character after the first & shortest matching string in the buffer. */ -extern size_t dfaexec PARAMS ((struct dfa *, char const *, size_t, int *)); +extern size_t dfaexec PARAMS ((struct dfa *, char const *, size_t, int *, + struct mb_cache *)); /* Free the storage held by the components of a struct dfa. */ extern void dfafree PARAMS ((struct dfa *)); |