apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include apr_pools.h
Date Mon, 24 Jun 2002 02:00:22 GMT
wrowe       2002/06/23 19:00:22

  Modified:    include  apr_pools.h
  Log:
    Aught to not nest extern "C" {} blocks, although this wasn't the bug
    I thought I discovered.  It's still better form.
  
  Revision  Changes    Path
  1.97      +6 -6      apr/include/apr_pools.h
  
  Index: apr_pools.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_pools.h,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- apr_pools.h	8 Jun 2002 20:27:42 -0000	1.96
  +++ apr_pools.h	24 Jun 2002 02:00:22 -0000	1.97
  @@ -55,11 +55,16 @@
   #ifndef APR_POOLS_H
   #define APR_POOLS_H
   
  +#include "apr.h"
  +#include "apr_errno.h"
  +#include "apr_general.h" /* for APR_STRINGIFY */
  +#define APR_WANT_MEMFUNC
  +#include "apr_want.h"
  +
   #ifdef __cplusplus
   extern "C" {
   #endif
   
  -
   /**
    * @file apr_pools.h
    * @brief APR memory allocation
  @@ -81,11 +86,6 @@
    * @ingroup APR
    * @{
    */
  -#include "apr.h"
  -#include "apr_errno.h"
  -#include "apr_general.h" /* for APR_STRINGIFY */
  -#define APR_WANT_MEMFUNC
  -#include "apr_want.h"
   
   /** The fundamental pool type */
   typedef struct apr_pool_t apr_pool_t;
  
  
  

Mime
View raw message