X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=lib%2Ftextsearch.c;h=9e2a002c5b543305105c69a77410177882538b1b;hb=4ed075e93bad97d0fdbb8a1be62f2449988496cb;hp=6f3093efbd7b0f084edc5b3a85e6b71bbb357783;hpb=7079060f3e86ea4c1d4e9c1e356592ef9dcaaa1f;p=powerpc.git diff --git a/lib/textsearch.c b/lib/textsearch.c index 6f3093efbd..9e2a002c5b 100644 --- a/lib/textsearch.c +++ b/lib/textsearch.c @@ -40,7 +40,7 @@ * configuration according to the specified parameters. * (3) User starts the search(es) by calling _find() or _next() to * fetch subsequent occurrences. A state variable is provided - * to the algorihtm to store persistant variables. + * to the algorihtm to store persistent variables. * (4) Core eventually resets the search offset and forwards the find() * request to the algorithm. * (5) Algorithm calls get_next_block() provided by the user continously @@ -93,7 +93,6 @@ * ========================================================================== */ -#include #include #include #include @@ -219,7 +218,7 @@ static unsigned int get_linear_data(unsigned int consumed, const u8 **dst, * Call textsearch_next() to retrieve subsequent matches. * * Returns the position of first occurrence of the pattern or - * UINT_MAX if no occurrence was found. + * %UINT_MAX if no occurrence was found. */ unsigned int textsearch_find_continuous(struct ts_config *conf, struct ts_state *state,