summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-12-01 03:09:00 +0100
committerJeff Trawick <trawick@apache.org>2001-12-01 03:09:00 +0100
commitb7f26548e49df4548f3e944e5af77b33f4bcf6d6 (patch)
treeb8eb577fb1816ac8aa332037ab772c07803f51d9 /include
parentfix a potential thread safety issue in mod_mime_magic (diff)
downloadapache2-b7f26548e49df4548f3e944e5af77b33f4bcf6d6.tar.xz
apache2-b7f26548e49df4548f3e944e5af77b33f4bcf6d6.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h12
1 files changed, 6 insertions, 6 deletions
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