summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-06-11 20:28:06 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-06-11 20:28:06 +0000
commitfc78e51452a0244ee672fca91752eb7d982e2541 (patch)
tree60f6f06b3e3acf0ad3f29a14ae7aef62fb16b1f7 /include
parent8fa67528583b83a23030d5d358e070586672cc87 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/extern.h2
1 files changed, 1 insertions, 1 deletions
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);