mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
const in fastfind_search
This commit is contained in:
parent
721af4e749
commit
3f508a9803
@ -590,7 +590,8 @@ return_error:
|
||||
} while (0)
|
||||
|
||||
void *
|
||||
fastfind_search(struct fastfind_index *index, unsigned char *key, int key_len)
|
||||
fastfind_search(struct fastfind_index *index,
|
||||
const unsigned char *key, int key_len)
|
||||
{
|
||||
struct ff_node *current;
|
||||
struct fastfind_info *info;
|
||||
|
@ -49,7 +49,8 @@ struct fastfind_index *fastfind_index(struct fastfind_index *index, enum fastfin
|
||||
/** Search the index for @a key with length @a key_len using the
|
||||
* @a index' handle created with fastfind_index().
|
||||
* @relates fastfind_index */
|
||||
void *fastfind_search(struct fastfind_index *index, unsigned char *key, int key_len);
|
||||
void *fastfind_search(struct fastfind_index *index,
|
||||
const unsigned char *key, int key_len);
|
||||
|
||||
/** Fastfind cleanup. It frees the given @a index.
|
||||
* Must be called once per list.
|
||||
|
Loading…
Reference in New Issue
Block a user