]> granicus.if.org Git - apache/commitdiff
use our standard declaration macro for the AP_DEBUG flavors of
authorJeff Trawick <trawick@apache.org>
Sat, 1 Dec 2001 02:09:00 +0000 (02:09 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 1 Dec 2001 02:09:00 +0000 (02:09 +0000)
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

include/httpd.h

index fab85b3a5f4ffda9caf1299b1a267bcdfd8986d1..a6f49f1e545be4bc96df34723b675176824e6dec 100644 (file)
@@ -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