diff --git a/src/core/misc.c b/src/core/misc.c index b97d2fa6..9f9c9179 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -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; diff --git a/src/core/misc.h b/src/core/misc.h index a7c07322..22914bdb 100644 --- a/src/core/misc.h +++ b/src/core/misc.h @@ -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);