summaryrefslogtreecommitdiff
path: root/memory/unix/apr_pools.c
diff options
context:
space:
mode:
authorjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2002-05-05 22:24:41 +0000
committerjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2002-05-05 22:24:41 +0000
commitc4074e712b21dcf4e9d7c99dc552ba966e361c3a (patch)
tree7de9b2f40d8eaf13b92e43f1e4978f6566ca3755 /memory/unix/apr_pools.c
parent99aa6e7307a92b7a7b6c1cb12ada1adedbb18f48 (diff)
downloadlibapr-c4074e712b21dcf4e9d7c99dc552ba966e361c3a.tar.gz
Since we're using -Wmissing-prototypes, we were getting this warning:
apr_pools.c:584: warning: no previous prototype for `apr_pcalloc' Normally this prototype would go in the header, but it was explicitly removed from the header because code built today should not use this function. Its non-macro implementation only exists for binary backward compatibility. So as long as we export the symbol correctly, the pre-built code already knows how to pull it in (because this prototype WAS in the header when that code was built), so all is well with the world. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63362 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory/unix/apr_pools.c')
-rw-r--r--memory/unix/apr_pools.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c
index 00d04ec35..568664f7c 100644
--- a/memory/unix/apr_pools.c
+++ b/memory/unix/apr_pools.c
@@ -580,6 +580,7 @@ APR_DECLARE(void *) apr_palloc(apr_pool_t *pool, apr_size_t size)
#undef apr_pcalloc
#endif
+APR_DECLARE(void *) apr_pcalloc(apr_pool_t *pool, apr_size_t size);
APR_DECLARE(void *) apr_pcalloc(apr_pool_t *pool, apr_size_t size)
{
void *mem;