aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/grep/dfa.h
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-07-04 16:16:59 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-07-04 16:16:59 +0000
commit2af417add46dcf8519d90bbbec4514d6ca66ae81 (patch)
treef6cc1168eb91ba1e90868ec6077d80ec9ca9dba4 /gnu/usr.bin/grep/dfa.h
parent5908d366fb365362004d549066a6225f0c46d3e6 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/grep/dfa.h')
-rw-r--r--gnu/usr.bin/grep/dfa.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/grep/dfa.h b/gnu/usr.bin/grep/dfa.h
index 4cdbe7a4f7f9..014f1b3637c4 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 *));