From: Victor J. Orlikowski Date: Wed, 4 Apr 2001 07:15:35 +0000 (+0000) Subject: Module writers for 2.0 shouldn't still be relying on a no-op for X-Git-Tag: 2.0.17~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8735167a29ef1cd1099f2458871625421b1ddfa5;p=thirdparty%2Fapache%2Fhttpd.git Module writers for 2.0 shouldn't still be relying on a no-op for compatibilities' sake. Let's kill ap_util_uri_init, since it serves no purpose now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88716 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/util_uri.h b/include/util_uri.h index dec4900ee57..b2b91201ab3 100644 --- a/include/util_uri.h +++ b/include/util_uri.h @@ -200,12 +200,6 @@ AP_DECLARE(int) ap_parse_uri_components(apr_pool_t *p, const char *uri, uri_comp */ AP_DECLARE(int) ap_parse_hostinfo_components(apr_pool_t *p, const char *hostinfo, uri_components *uptr); -/** - * Setup everything necessary to parse uri's - * @deffunc void ap_util_uri_init(void) - */ -AP_DECLARE(void) ap_util_uri_init(void); - #ifdef __cplusplus } #endif diff --git a/server/main.c b/server/main.c index 93e83fcbc66..ad71b60d2b0 100644 --- a/server/main.c +++ b/server/main.c @@ -310,8 +310,6 @@ int main(int argc, const char * const argv[]) } #endif - ap_util_uri_init(); - ap_setup_prelinked_modules(process); apr_pool_create(&pcommands, pglobal); diff --git a/server/util_uri.c b/server/util_uri.c index 2feb23c2b60..508c6f199c8 100644 --- a/server/util_uri.c +++ b/server/util_uri.c @@ -194,11 +194,6 @@ AP_DECLARE(char *) ap_unparse_uri_components(apr_pool_t *p, const uri_components #define NOTEND_HOSTINFO (T_SLASH | T_QUESTION | T_HASH | T_NUL) #define NOTEND_PATH (T_QUESTION | T_HASH | T_NUL) -AP_DECLARE(void) ap_util_uri_init(void) -{ - /* nothing to do */ -} - /* parse_uri_components(): * Parse a given URI, fill in all supplied fields of a uri_components * structure. This eliminates the necessity of extracting host, port, diff --git a/support/httpd.exp b/support/httpd.exp index 723230af723..4d75112bf46 100644 --- a/support/httpd.exp +++ b/support/httpd.exp @@ -358,7 +358,6 @@ ap_update_child_status ap_update_mtime ap_update_vhost_from_headers ap_update_vhost_given_ip -ap_util_uri_init ap_vrprintf ap_wait_or_timeout ap_walk_config