summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-03-28 12:59:26 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-03-28 12:59:26 +0000
commitcdaf0c72e812051b115f54f94c03b47fc74dadf3 (patch)
treeb5816b5fc1c1be957d6b617540e89f07f987ed18 /src
parent3dcfe43579632f18e7488b4237d43165d0552957 (diff)
downloadirssi-cdaf0c72e812051b115f54f94c03b47fc74dadf3.zip
Make strstr_full_case internal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4778 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/misc.c2
-rw-r--r--src/core/misc.h4
2 files changed, 2 insertions, 4 deletions
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);