Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 37034 invoked by uid 500); 21 May 2001 19:15:01 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 36972 invoked by uid 500); 21 May 2001 19:14:54 -0000 Delivered-To: apmail-apr-util-cvs@apache.org Date: 21 May 2001 19:14:47 -0000 Message-ID: <20010521191447.36874.qmail@apache.org> From: trawick@apache.org To: apr-util-cvs@apache.org Subject: cvs commit: apr-util/hooks apr_hooks.c trawick 01/05/21 12:14:46 Modified: buckets apr_brigade.c apr_buckets_heap.c apr_buckets_pool.c dbm apr_dbm.c hooks apr_hooks.c Log: Get rid of some warnings about missing prototypes for memXXX and strXXX functions. (I only saw this on RH 7.1.) Revision Changes Path 1.15 +3 -3 apr-util/buckets/apr_brigade.c Index: apr_brigade.c =================================================================== RCS file: /home/cvs/apr-util/buckets/apr_brigade.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- apr_brigade.c 2001/04/03 00:04:35 1.14 +++ apr_brigade.c 2001/05/21 19:14:32 1.15 @@ -58,11 +58,11 @@ #include "apr_tables.h" #include "apr_buckets.h" #include "apr_errno.h" +#define APR_WANT_MEMFUNC +#define APR_WANT_STRFUNC +#include "apr_want.h" #include -#if APR_HAVE_STRINGS_H -#include -#endif #if APR_HAVE_SYS_UIO_H #include #endif 1.32 +3 -3 apr-util/buckets/apr_buckets_heap.c Index: apr_buckets_heap.c =================================================================== RCS file: /home/cvs/apr-util/buckets/apr_buckets_heap.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- apr_buckets_heap.c 2001/04/11 19:07:04 1.31 +++ apr_buckets_heap.c 2001/05/21 19:14:33 1.32 @@ -53,10 +53,10 @@ */ #include "apr_buckets.h" +#define APR_WANT_MEMFUNC +#define APR_WANT_STRFUNC +#include "apr_want.h" #include -#if APR_HAVE_STRINGS_H -#include -#endif static apr_status_t heap_read(apr_bucket *b, const char **str, apr_size_t *len, apr_read_type_e block) 1.18 +2 -0 apr-util/buckets/apr_buckets_pool.c Index: apr_buckets_pool.c =================================================================== RCS file: /home/cvs/apr-util/buckets/apr_buckets_pool.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- apr_buckets_pool.c 2001/04/30 04:06:00 1.17 +++ apr_buckets_pool.c 2001/05/21 19:14:34 1.18 @@ -54,6 +54,8 @@ #include "apr_buckets.h" #include +#define APR_WANT_MEMFUNC +#include "apr_want.h" static apr_status_t pool_bucket_cleanup(void *data) { 1.26 +3 -0 apr-util/dbm/apr_dbm.c Index: apr_dbm.c =================================================================== RCS file: /home/cvs/apr-util/dbm/apr_dbm.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- apr_dbm.c 2001/05/08 19:57:49 1.25 +++ apr_dbm.c 2001/05/21 19:14:39 1.26 @@ -56,6 +56,9 @@ #include "apr_errno.h" #include "apr_pools.h" #include "apr_strings.h" +#define APR_WANT_MEMFUNC +#define APR_WANT_STRFUNC +#include "apr_want.h" #include "apu_select_dbm.h" #include "apr_dbm.h" 1.41 +3 -4 apr-util/hooks/apr_hooks.c Index: apr_hooks.c =================================================================== RCS file: /home/cvs/apr-util/hooks/apr_hooks.c,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- apr_hooks.c 2001/05/20 12:45:52 1.40 +++ apr_hooks.c 2001/05/21 19:14:43 1.41 @@ -63,10 +63,9 @@ #include "apr_hash.h" #include "apr_optional_hooks.h" #include "apr_optional.h" - -#if APR_HAVE_STRINGS_H -#include -#endif +#define APR_WANT_MEMFUNC +#define APR_WANT_STRFUNC +#include "apr_want.h" #if 0 #define apr_palloc(pool,size) malloc(size)