You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2002/03/29 17:53:37 UTC
cvs commit: apr-util/buckets apr_buckets_alloc.c
bnicholes 02/03/29 08:53:37
Modified: buckets apr_buckets_alloc.c
Log:
Avoiding a compiler error on NetWare until the implementation is complete
Revision Changes Path
1.2 +5 -0 apr-util/buckets/apr_buckets_alloc.c
Index: apr_buckets_alloc.c
===================================================================
RCS file: /home/cvs/apr-util/buckets/apr_buckets_alloc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apr_buckets_alloc.c 29 Mar 2002 08:12:08 -0000 1.1
+++ apr_buckets_alloc.c 29 Mar 2002 16:53:37 -0000 1.2
@@ -59,11 +59,16 @@
* XXX: this file will be filled in later
*/
+/* XXX: Remove the ifdef when the struct is filled in.
+ * An empty struct causes a compiler error on NetWare
+ */
+#ifndef NETWARE
/** A list of free memory from which new buckets or private bucket
* structures can be allocated.
*/
struct apr_bucket_alloc_t {
};
+#endif
APU_DECLARE(apr_bucket_alloc_t *) apr_bucket_alloc_create(apr_pool_t *p)
{