diff options
author | Yann Ylavic <ylavic@apache.org> | 2017-04-03 10:50:44 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2017-04-03 10:50:44 +0000 |
commit | b6e423bfa5d87c46c51266b1aa6209165dba3c0f (patch) | |
tree | 276a00ac8683f57c075a56b63aa192c6ddff925b /memory/unix | |
parent | e20d3d3a2017d7086bde19814cdf8ef93da92f34 (diff) | |
download | apr-b6e423bfa5d87c46c51266b1aa6209165dba3c0f.tar.gz |
Follow up to r1788334: apr_allocator_align() should take an allocator as
argument, for better scalability of the API.
Update apr_bucket_alloc_aligned_floor() from r1788335 accordingly.
Suggested by ivan.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1789947 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory/unix')
-rw-r--r-- | memory/unix/apr_pools.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index e3d82d0f7..d2ff53dcd 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -260,8 +260,10 @@ apr_size_t allocator_align(apr_size_t in_size) return size; } -APR_DECLARE(apr_size_t) apr_allocator_align(apr_size_t size) +APR_DECLARE(apr_size_t) apr_allocator_align(apr_allocator_t *allocator, + apr_size_t size) { + (void)allocator; return allocator_align(size); } |