Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 14229 invoked by uid 500); 16 Oct 2000 06:29:40 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 14206 invoked by uid 500); 16 Oct 2000 06:29:40 -0000 Delivered-To: apmail-apache-2.0-cvs@apache.org Delivered-To: apmail-httpd-docs-2.0-cvs@apache.org Date: 16 Oct 2000 06:29:38 -0000 Message-ID: <20001016062938.14194.qmail@locus.apache.org> From: wrowe@locus.apache.org To: httpd-docs-2.0-cvs@apache.org Subject: cvs commit: apache-2.0/src/include ap_buckets.h wrowe 00/10/15 23:29:38 Modified: src/ap ap_buckets.c src/include ap_buckets.h Log: I know this makes no sense. Any 'normal' c function that isn't exported is C decl. NONSTD is C decl. Other languages require (and C can accept) backwards caller-free-stack-on-return methods, but you can't mix 'em. So these are NONSTD. Don't panic... FirstBill and I are happy to catch these oddities. Revision Changes Path 1.26 +3 -3 apache-2.0/src/ap/ap_buckets.c Index: ap_buckets.c =================================================================== RCS file: /home/cvs/apache-2.0/src/ap/ap_buckets.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- ap_buckets.c 2000/10/16 06:04:28 1.25 +++ ap_buckets.c 2000/10/16 06:29:37 1.26 @@ -250,17 +250,17 @@ return bucket_types->nelts - 1; } -AP_DECLARE(apr_status_t) ap_bucket_setaside_notimpl(ap_bucket *data) +AP_DECLARE_NONSTD(apr_status_t) ap_bucket_setaside_notimpl(ap_bucket *data) { return APR_ENOTIMPL; } -AP_DECLARE(apr_status_t) ap_bucket_split_notimpl(ap_bucket *data, apr_off_t point) +AP_DECLARE_NONSTD(apr_status_t) ap_bucket_split_notimpl(ap_bucket *data, apr_off_t point) { return APR_ENOTIMPL; } -AP_DECLARE(void) ap_bucket_destroy_notimpl(void *data) +AP_DECLARE_NONSTD(void) ap_bucket_destroy_notimpl(void *data) { return; } 1.39 +3 -3 apache-2.0/src/include/ap_buckets.h Index: ap_buckets.h =================================================================== RCS file: /home/cvs/apache-2.0/src/include/ap_buckets.h,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- ap_buckets.h 2000/10/16 06:04:33 1.38 +++ ap_buckets.h 2000/10/16 06:29:38 1.39 @@ -504,10 +504,10 @@ /* Bucket type handling */ -AP_DECLARE(apr_status_t) ap_bucket_setaside_notimpl(ap_bucket *data); -AP_DECLARE(apr_status_t) ap_bucket_split_notimpl(ap_bucket *data, +AP_DECLARE_NONSTD(apr_status_t) ap_bucket_setaside_notimpl(ap_bucket *data); +AP_DECLARE_NONSTD(apr_status_t) ap_bucket_split_notimpl(ap_bucket *data, apr_off_t point); -AP_DECLARE(void) ap_bucket_destroy_notimpl(void *data); +AP_DECLARE_NONSTD(void) ap_bucket_destroy_notimpl(void *data); /* There is no ap_bucket_read_notimpl, because it is a required function */ int ap_insert_bucket_type(const ap_bucket_type *type);