summaryrefslogtreecommitdiff
path: root/server/util_debug.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-06-24 19:31:42 +0000
committerRyan Bloom <rbb@apache.org>2000-06-24 19:31:42 +0000
commit8b17259223b625dd2df2aa2079192e99bfdb5e40 (patch)
tree50a44eca72dbc61b90eef708c865c8cca1e9ef75 /server/util_debug.c
parent02a2200fd8a67b36003d78858cab8f59d6c3fece (diff)
downloadhttpd-8b17259223b625dd2df2aa2079192e99bfdb5e40.tar.gz
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
Diffstat (limited to 'server/util_debug.c')
-rw-r--r--server/util_debug.c8
1 files changed, 8 insertions, 0 deletions
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