trawick 02/03/30 04:43:07
Modified: buckets apr_buckets_alloc.c
Log:
get apr_buckets_alloc.c to compile with IBM's native compiler for AIX
and DEC^H^H^HCompaq^H^H^H^H^H^HHP's native compiler for Tru64 (and
any other compiler that is picky about the spec in regard to structure
definitions with no members specified)
Revision Changes Path
1.4 +1 -8 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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- apr_buckets_alloc.c 29 Mar 2002 22:45:45 -0000 1.3
+++ apr_buckets_alloc.c 30 Mar 2002 12:43:07 -0000 1.4
@@ -59,16 +59,9 @@
* 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 {
+ int x; /* temporary... some compilers trigger an error on empty
structure defs */
};
-#endif
APU_DECLARE(apr_bucket_alloc_t *) apr_bucket_alloc_create(apr_pool_t *p)
{