From: Paul Querna Date: Mon, 25 Apr 2005 05:19:18 +0000 (+0000) Subject: Remove ap_method_list_do and ap_method_list_vdo as previously mentioned dev@httpd. X-Git-Tag: 2.1.5~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af9ae7c2d73c82e6432bb0ab376d57fd61db28bf;p=thirdparty%2Fapache%2Fhttpd.git Remove ap_method_list_do and ap_method_list_vdo as previously mentioned dev@httpd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@164536 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index e9ddbe875e1..25bf81e233e 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.5 [Remove entries to the current 2.0 section below, when backported] + *) Remove the never working ap_method_list_do and ap_method_list_vdo. + [Paul Querna] + *) Added makefile and doc for building mod_ssl on the NetWare platform. [Guenter Knauf, Brad Nicholes] diff --git a/include/http_protocol.h b/include/http_protocol.h index 45e3d66c056..405ff2415aa 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -261,14 +261,7 @@ AP_DECLARE(void) ap_method_registry_init(apr_pool_t *p); AP_DECLARE(ap_method_list_t *) ap_make_method_list(apr_pool_t *p, int nelts); AP_DECLARE(void) ap_copy_method_list(ap_method_list_t *dest, ap_method_list_t *src); -AP_DECLARE_NONSTD(void) ap_method_list_do(int (*comp) (void *urec, const char *mname, - int mnum), - void *rec, - const ap_method_list_t *ml, ...); -AP_DECLARE(void) ap_method_list_vdo(int (*comp) (void *urec, const char *mname, - int mnum), - void *rec, const ap_method_list_t *ml, - va_list vp); + /** * Search for an HTTP method name in an ap_method_list_t structure, and * return true if found. diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 04970bb63e2..9e2f18f2deb 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -1272,30 +1272,6 @@ AP_DECLARE(void) ap_copy_method_list(ap_method_list_t *dest, } } -/* - * Invoke a callback routine for each method in the specified list. - */ -AP_DECLARE_NONSTD(void) ap_method_list_do(int (*comp) (void *urec, - const char *mname, - int mnum), - void *rec, - const ap_method_list_t *ml, ...) -{ - va_list vp; - va_start(vp, ml); - ap_method_list_vdo(comp, rec, ml, vp); - va_end(vp); -} - -AP_DECLARE(void) ap_method_list_vdo(int (*comp) (void *mrec, - const char *mname, - int mnum), - void *rec, const ap_method_list_t *ml, - va_list vp) -{ - -} - /* * Return true if the specified HTTP method is in the provided * method list.