summaryrefslogtreecommitdiff
path: root/include/apr_general.h
diff options
context:
space:
mode:
authorgstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2001-01-24 08:26:20 +0000
committergstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2001-01-24 08:26:20 +0000
commit10fc48a6885e35bd79268e30445ed052da7ce10a (patch)
treed4b2e4633d528bed2b6b184d1b55858430ab5b82 /include/apr_general.h
parente671ba438a35f62abd47a219eed96521b19a9ebc (diff)
downloadlibapr-10fc48a6885e35bd79268e30445ed052da7ce10a.tar.gz
Use a typesafe function for access objects' pools.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61113 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_general.h')
-rw-r--r--include/apr_general.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/apr_general.h b/include/apr_general.h
index 77ec5cf3c..776bf986b 100644
--- a/include/apr_general.h
+++ b/include/apr_general.h
@@ -210,16 +210,6 @@ typedef int apr_signum_t;
#define XtOffsetOf(s_type,field) XtOffset(s_type*,field)
#endif
-/* This is a general apr type that should only ever be used in the APR_GET_POOL
- * macro. This is basically used to let us get the pool from any apr type
- * that has one.
- */
-struct apr_t {
- apr_pool_t *pool;
-};
-
-#define APR_GET_POOL(foo) \
- ((struct apr_t *)foo)->pool
/* A couple of prototypes for functions in case some platform doesn't
* have it