summaryrefslogtreecommitdiffstats
path: root/server/util_debug.c
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2001-02-10 14:05:29 +0100
committerGreg Stein <gstein@apache.org>2001-02-10 14:05:29 +0100
commitbb282b75f71256a00c110d39842e7bc3b83958a6 (patch)
tree908e5f92600f65ed10a12d85a48849108233f1ed /server/util_debug.c
parenthttp_conf_globals.h is gone (diff)
downloadapache2-bb282b75f71256a00c110d39842e7bc3b83958a6.tar.xz
apache2-bb282b75f71256a00c110d39842e7bc3b83958a6.zip
Clean up some of the includes:
- explicitly include apr_lib.h since ap_config.h doesn't - use apr_want.h where possible - use APR_HAVE_ where possible - remove some unneeded includes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88060 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_debug.c')
-rw-r--r--server/util_debug.c29
1 files changed, 22 insertions, 7 deletions
diff --git a/server/util_debug.c b/server/util_debug.c
index 0972832cfb..de5f469dbc 100644
--- a/server/util_debug.c
+++ b/server/util_debug.c
@@ -56,31 +56,46 @@
* University of Illinois, Urbana-Champaign.
*/
+#define APR_WANT_STRFUNC
+#include "apr_want.h"
+
#include "httpd.h"
#ifdef AP_DEBUG
# undef strchr
char *ap_strchr(char *s, int c)
-{ return strchr(s,c); }
+{
+ return strchr(s,c);
+}
const char *ap_strchr_c(const char *s, int c)
-{ return strchr(s,c); }
+{
+ return strchr(s,c);
+}
# undef strrchr
char *ap_strrchr(char *s, int c)
-{ return strrchr(s,c); }
+{
+ return strrchr(s,c);
+}
const char *ap_strrchr_c(const char *s, int c)
-{ return strrchr(s,c); }
+{
+ return strrchr(s,c);
+}
#undef strstr
char *ap_strstr(char *s, char *c)
-{ return strstr(s,c); }
+{
+ return strstr(s,c);
+}
const char *ap_strstr_c(const char *s, const char *c)
-{ return strstr(s,c); }
+{
+ return strstr(s,c);
+}
-#endif
+#endif /* AP_DEBUG */