1
0
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:
Emanuele Giaquinta 2008-03-28 12:59:26 +00:00 committed by exg
parent 3dcfe43579
commit cdaf0c72e8
2 changed files with 2 additions and 4 deletions

View File

@ -308,7 +308,7 @@ char *stristr(const char *data, const char *key)
((unsigned char) (c) < 128 && \
(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;
int keylen, datalen, pos, match;

View File

@ -85,9 +85,7 @@ int strocpy(char *dest, const char *src, size_t dstsize);
/* strstr() with case-ignoring */
char *stristr(const char *data, const char *key);
/* 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);
/* like strstr(), but matches only for full words. */
char *strstr_full(const char *data, const char *key);
char *stristr_full(const char *data, const char *key);