You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2002/06/24 04:00:22 UTC
cvs commit: apr/include apr_pools.h
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;