X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fkmp.h;h=673e0d3db2ba1593e7c1333cc8ad1d6487445459;hb=12b2eb1c3f53b2b73b2c916dd907c04834f70fde;hp=629a4c84c3354e8ff4c530178c723a13f1729e5c;hpb=031256ad2e123eec58521f8e3eb9496c197641d2;p=libucw.git diff --git a/ucw/kmp.h b/ucw/kmp.h index 629a4c84..673e0d3d 100644 --- a/ucw/kmp.h +++ b/ucw/kmp.h @@ -25,7 +25,7 @@ * #define KMP_WANT_CLEANUP * #define KMP_WANT_SEARCH // includes ucw/kmp-search.h automatically * #define KMPS_FOUND(kmp,src,s) printf("found\n") - * #include "ucw/kmp.h" + * #include * * [...] * @@ -108,7 +108,7 @@ #error Missing KMP_PREFIX #endif -#include "ucw/mempool.h" +#include #include #include @@ -240,7 +240,7 @@ P(hash_init_key) (struct P(hash_table) *t UNUSED, struct P(state) *s, struct P(s #endif #define HASH_CONSERVE_SPACE #define HASH_TABLE_DYNAMIC -#include "ucw/hashtable.h" +#include #define P(x) KMP_PREFIX(x) struct P(struct) { @@ -267,13 +267,13 @@ P(get_char) (struct P(struct) *kmp UNUSED, P(source_t) *src UNUSED, P(char_t) *c } #else # if defined(KMP_USE_UTF8) -# include "ucw/unicode.h" +# include # if defined(KMP_ONLYALPHA) || defined(KMP_TOLOWER) || defined(KMP_UNACCENT) -# include "charset/unicat.h" +# include # endif # elif defined(KMP_USE_ASCII) # if defined(KMP_ONLYALPHA) || defined(KMP_TOLOWER) -# include "ucw/chartype.h" +# include # endif # endif static inline int @@ -457,7 +457,7 @@ P(build) (struct P(struct) *kmp) # undef KMP_WANT_SEARCH # define KMPS_PREFIX(x) KMP_PREFIX(x) # define KMPS_KMP_PREFIX(x) KMP_PREFIX(x) -# include "ucw/kmp-search.h" +# include #endif #undef KMP_PREFIX