summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/grep/dfa.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2005-05-14 03:02:22 +0000
committertjr <tjr@FreeBSD.org>2005-05-14 03:02:22 +0000
commite4b49c84982ca77225117a127483a0802637e7e5 (patch)
tree48c467b95e7c87c86662c596b889fe56a0e898d8 /gnu/usr.bin/grep/dfa.h
parent24af091514cc90220f93ff228469d31ee46ff937 (diff)
downloadFreeBSD-src-e4b49c84982ca77225117a127483a0802637e7e5.zip
FreeBSD-src-e4b49c84982ca77225117a127483a0802637e7e5.tar.gz
Remove mb-caching hack.
Obtained from: Fedora (Tim Waugh)
Diffstat (limited to 'gnu/usr.bin/grep/dfa.h')
-rw-r--r--gnu/usr.bin/grep/dfa.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/usr.bin/grep/dfa.h b/gnu/usr.bin/grep/dfa.h
index 014f1b3..4cdbe7a 100644
--- a/gnu/usr.bin/grep/dfa.h
+++ b/gnu/usr.bin/grep/dfa.h
@@ -24,8 +24,6 @@
In addition to clobbering modularity, we eat up valuable
name space. */
-#include "mbcache.h"
-
#ifdef __STDC__
# ifndef _PTR_T
# define _PTR_T
@@ -407,8 +405,7 @@ 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 *,
- struct mb_cache *));
+extern size_t dfaexec PARAMS ((struct dfa *, char const *, size_t, int *));
/* Free the storage held by the components of a struct dfa. */
extern void dfafree PARAMS ((struct dfa *));
OpenPOWER on IntegriCloud