mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Make strstr_full_case internal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4778 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3dcfe43579
commit
cdaf0c72e8
@ -308,7 +308,7 @@ char *stristr(const char *data, const char *key)
|
|||||||
((unsigned char) (c) < 128 && \
|
((unsigned char) (c) < 128 && \
|
||||||
(i_isspace(c) || i_ispunct(c)))
|
(i_isspace(c) || i_ispunct(c)))
|
||||||
|
|
||||||
char *strstr_full_case(const char *data, const char *key, int icase)
|
static char *strstr_full_case(const char *data, const char *key, int icase)
|
||||||
{
|
{
|
||||||
const char *start, *max;
|
const char *start, *max;
|
||||||
int keylen, datalen, pos, match;
|
int keylen, datalen, pos, match;
|
||||||
|
@ -85,9 +85,7 @@ int strocpy(char *dest, const char *src, size_t dstsize);
|
|||||||
/* strstr() with case-ignoring */
|
/* strstr() with case-ignoring */
|
||||||
char *stristr(const char *data, const char *key);
|
char *stristr(const char *data, const char *key);
|
||||||
|
|
||||||
/* like strstr(), but matches only for full words.
|
/* like strstr(), but matches only for full words. */
|
||||||
`icase' specifies if match is case sensitive */
|
|
||||||
char *strstr_full_case(const char *data, const char *key, int icase);
|
|
||||||
char *strstr_full(const char *data, const char *key);
|
char *strstr_full(const char *data, const char *key);
|
||||||
char *stristr_full(const char *data, const char *key);
|
char *stristr_full(const char *data, const char *key);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user