Changes with Apache 2.0.44
+ *) Use AP_DECLARE in the debug versions of ap_strXXX in case the
+ default calling convention is not the same as the one used by
+ AP_DECLARE. [Juan Rivera <Juan.Rivera@citrix.com>]
+
*) mod_cache: Don't cache response header fields designated
as hop-by-hop headers in HTTP/1.1 (RFC 2616 Section 13.5.1).
[Estrade Matthieu <estrade-m@ifrance.com>, Brian Pane]
#undef strrchr
#undef strstr
-char *ap_strchr(char *s, int c)
+AP_DECLARE(char *) ap_strchr(char *s, int c)
{
return strchr(s,c);
}
-const char *ap_strchr_c(const char *s, int c)
+AP_DECLARE(const char *) ap_strchr_c(const char *s, int c)
{
return strchr(s,c);
}
-char *ap_strrchr(char *s, int c)
+AP_DECLARE(char *) ap_strrchr(char *s, int c)
{
return strrchr(s,c);
}
-const char *ap_strrchr_c(const char *s, int c)
+AP_DECLARE(const char *) ap_strrchr_c(const char *s, int c)
{
return strrchr(s,c);
}
-char *ap_strstr(char *s, const char *c)
+AP_DECLARE(char *) ap_strstr(char *s, const char *c)
{
return strstr(s,c);
}
-const char *ap_strstr_c(const char *s, const char *c)
+AP_DECLARE(const char *) ap_strstr_c(const char *s, const char *c)
{
return strstr(s,c);
}