]> wimlib.net Git - wimlib/blob - src/lz_repsearch.c
Add some missing config.h includes
[wimlib] / src / lz_repsearch.c
1 /*
2  * lz_repsearch.c
3  *
4  * Fast searching for repeat offset matches.
5  *
6  * The author dedicates this file to the public domain.
7  * You can do whatever you want with this file.
8  *
9  */
10
11 #ifdef HAVE_CONFIG_H
12 #  include "config.h"
13 #endif
14
15 #include "wimlib/lz_repsearch.h"
16 #include "wimlib/lz_extend.h"
17
18 u32
19 lz_extend_repmatch(const u8 *strptr, const u8 *matchptr, u32 max_len)
20 {
21         return lz_extend(strptr, matchptr, 2, max_len);
22 }