1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-30 15:01:14 +03:00

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
This commit is contained in:
Ryan Bloom
2000-06-24 19:31:42 +00:00
parent 02a2200fd8
commit 8b17259223
4 changed files with 17 additions and 3 deletions

View File

@@ -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