aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/memorypool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/memorypool.c')
-rw-r--r--src/microhttpd/memorypool.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index 9639d552..415b8aa5 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -25,6 +25,7 @@
25 * @author Karlson2k (Evgeny Grin) 25 * @author Karlson2k (Evgeny Grin)
26 */ 26 */
27#include "memorypool.h" 27#include "memorypool.h"
28#include "internal.h"
28#include "mhd_assert.h" 29#include "mhd_assert.h"
29 30
30/* define MAP_ANONYMOUS for Mac OS X */ 31/* define MAP_ANONYMOUS for Mac OS X */
@@ -81,21 +82,6 @@ struct MemoryPool
81 82
82 83
83/** 84/**
84 * Free the memory given by @a ptr. Calls "free(ptr)". This function
85 * should be used to free the username returned by
86 * #MHD_digest_auth_get_username().
87 * @note Since v0.9.56
88 *
89 * @param ptr pointer to free.
90 */
91_MHD_EXTERN void
92MHD_free (void *ptr)
93{
94 free (ptr);
95}
96
97
98/**
99 * Create a memory pool. 85 * Create a memory pool.
100 * 86 *
101 * @param max maximum size of the pool 87 * @param max maximum size of the pool