X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Ftextsearch.h;h=004808a6df1d080f8389cf2a57f1d4c85ff7673d;hb=c697eecebc6cfc0b393afea3c4ff1a5041526ad1;hp=fc5bb4e91a5846303ecb9be8a8058768d000d7e1;hpb=e5dfa9282f3db461a896a6692b529e1823ba98c6;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/textsearch.h b/include/linux/textsearch.h index fc5bb4e91a5..004808a6df1 100644 --- a/include/linux/textsearch.h +++ b/include/linux/textsearch.h @@ -8,6 +8,7 @@ #include #include #include +#include struct ts_config; @@ -19,7 +20,7 @@ struct ts_config; /** * struct ts_state - search state * @offset: offset for next match - * @cb: control buffer, for persistant variables of get_next_block() + * @cb: control buffer, for persistent variables of get_next_block() */ struct ts_state { @@ -70,7 +71,7 @@ struct ts_config * Called repeatedly until 0 is returned. Must assign the * head of the next block of data to &*dst and return the length * of the block or 0 if at the end. consumed == 0 indicates - * a new search. May store/read persistant values in state->cb. + * a new search. May store/read persistent values in state->cb. */ unsigned int (*get_next_block)(unsigned int consumed, const u8 **dst,