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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=156148606931d302efee07fd212f7b06bd13ac47;p=apache 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 fab85b3a5f..a6f49f1e54 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