From: Jeff Trawick Date: Sat, 1 Dec 2001 02:09:00 +0000 (+0000) Subject: use our standard declaration macro for the AP_DEBUG flavors of X-Git-Tag: 2.0.30~320 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7f26548e49df4548f3e944e5af77b33f4bcf6d6;p=thirdparty%2Fapache%2Fhttpd.git use our standard declaration macro for the AP_DEBUG flavors of ap_strchr(), ap_strchr_c(), et al so that for an AP_DEBUG build of Apache those functions will be listed in httpd.exp... otherwise, AIX DSO modules also compiled with AP_DEBUG won't be able to resolve those symbols since httpd isn't exporting them git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92270 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/httpd.h b/include/httpd.h index fab85b3a5f4..a6f49f1e545 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1646,12 +1646,12 @@ AP_DECLARE(const char *) ap_psignature(const char *prefix, request_rec *r); #undef strstr # define strstr(s, c) ap_strstr(s,c) -char *ap_strchr(char *s, int c); -const char *ap_strchr_c(const char *s, int c); -char *ap_strrchr(char *s, int c); -const char *ap_strrchr_c(const char *s, int c); -char *ap_strstr(char *s, const char *c); -const char *ap_strstr_c(const char *s, const char *c); +AP_DECLARE(char *) ap_strchr(char *s, int c); +AP_DECLARE(const char *) ap_strchr_c(const char *s, int c); +AP_DECLARE(char *) ap_strrchr(char *s, int c); +AP_DECLARE(const char *) ap_strrchr_c(const char *s, int c); +AP_DECLARE(char *) ap_strstr(char *s, const char *c); +AP_DECLARE(const char *) ap_strstr_c(const char *s, const char *c); #else