From fc78e51452a0244ee672fca91752eb7d982e2541 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Thu, 11 Jun 2009 20:28:06 +0000 Subject: Make stristr() const-safe, replace post-increment on iterators with pre-increment, remove now unused variables, made my_memo_lang() in hs_request.c const-safe. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2320 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index 1b28aeaa4..32f8ba1b9 100644 --- a/include/extern.h +++ b/include/extern.h @@ -613,7 +613,7 @@ E size_t strlcpy(char *, const char *, size_t); #ifndef HAVE_STRLCAT E size_t strlcat(char *, const char *, size_t); #endif -E char *stristr(char *s1, char *s2); +E const char *stristr(const char *s1, const char *s2); E char *strnrepl(char *s, int32 size, const char *old, const char *nstr); E const char *merge_args(int argc, char **argv); E const char *merge_args(int argc, const char **argv); -- cgit