diff options
Diffstat (limited to 'src/daemon/memorypool.h')
-rw-r--r-- | src/daemon/memorypool.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/daemon/memorypool.h b/src/daemon/memorypool.h index 1d8ffb32..537fb61e 100644 --- a/src/daemon/memorypool.h +++ b/src/daemon/memorypool.h | |||
@@ -84,13 +84,11 @@ void *MHD_pool_reallocate (struct MemoryPool *pool, | |||
84 | /** | 84 | /** |
85 | * Clear all entries from the memory pool except | 85 | * Clear all entries from the memory pool except |
86 | * for "keep" of the given "size". | 86 | * for "keep" of the given "size". |
87 | * | 87 | * |
88 | * @param keep pointer to the entry to keep (maybe NULL) | 88 | * @param keep pointer to the entry to keep (maybe NULL) |
89 | * @param size how many bytes need to be kept at this address | 89 | * @param size how many bytes need to be kept at this address |
90 | * @return addr new address of "keep" (if it had to change) | 90 | * @return addr new address of "keep" (if it had to change) |
91 | */ | 91 | */ |
92 | void *MHD_pool_reset(struct MemoryPool * pool, | 92 | void *MHD_pool_reset (struct MemoryPool *pool, void *keep, unsigned int size); |
93 | void * keep, | ||
94 | unsigned int size); | ||
95 | 93 | ||
96 | #endif | 94 | #endif |