apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/include apr_allocator.h
Date Fri, 07 Mar 2003 12:09:56 GMT
trawick     2003/03/07 04:09:54

  Modified:    include  apr_allocator.h
  Log:
  un-rearrange some of the header file includes
  
  there is an interdependency between apr_allocator.h and
  apr_pools.h that must be resolved before the order
  restrictions can be removed
  
  prior to this commit, Apache's exports.c could fail to
  compile when building with an out-of-tree APR because
  the order of inclusion in that case exposed the problem
  
  Revision  Changes    Path
  1.15      +3 -2      apr/include/apr_allocator.h
  
  Index: apr_allocator.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_allocator.h,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- apr_allocator.h	5 Mar 2003 21:22:25 -0000	1.14
  +++ apr_allocator.h	7 Mar 2003 12:09:53 -0000	1.15
  @@ -64,8 +64,6 @@
   #include "apr_errno.h"
   #define APR_WANT_MEMFUNC /**< For no good reason? */
   #include "apr_want.h"
  -#include "apr_pools.h"
  -#include "apr_thread_mutex.h"
   
   #ifdef __cplusplus
   extern "C" {
  @@ -130,6 +128,7 @@
   APR_DECLARE(void) apr_allocator_free(apr_allocator_t *allocator,
                                        apr_memnode_t *memnode);
   
  +#include "apr_pools.h"
   
   /**
    * Set the owner of the allocator
  @@ -171,6 +170,8 @@
   /** @deprecated @see apr_allocator_max_free_set */
   APR_DECLARE(void) apr_allocator_set_max_free(apr_allocator_t *allocator,
                                                apr_size_t size);
  +
  +#include "apr_thread_mutex.h"
   
   #if APR_HAS_THREADS
   /**
  
  
  

Mime
View raw message