From 8b17259223b625dd2df2aa2079192e99bfdb5e40 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Sat, 24 Jun 2000 19:31:42 +0000 Subject: Fix a couple of const warnings on Linux. This basically just defines ap_strstr and ap_strstr_c, which make sure that things are const when they need to be. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85687 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_debug.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'server/util_debug.c') diff --git a/server/util_debug.c b/server/util_debug.c index 415fdcac8e..0972832cfb 100644 --- a/server/util_debug.c +++ b/server/util_debug.c @@ -75,4 +75,12 @@ char *ap_strrchr(char *s, int c) const char *ap_strrchr_c(const char *s, int c) { return strrchr(s,c); } +#undef strstr + +char *ap_strstr(char *s, char *c) +{ return strstr(s,c); } + +const char *ap_strstr_c(const char *s, const char *c) +{ return strstr(s,c); } + #endif -- cgit v1.2.1