From 3b71727b69fe3f1813b7e4c9c99dff6f5bf3b5cb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 18 Oct 2015 21:44:44 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/slibc-alloc.h | 4 ++-- src/slibc-alloc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/slibc-alloc.h b/include/slibc-alloc.h index de99727..ccf7c86 100644 --- a/include/slibc-alloc.h +++ b/include/slibc-alloc.h @@ -241,7 +241,7 @@ void* extalloc(void*, size_t, enum extalloc_mode) * @param ptr The old allocation, see `realloc` for more details. * @param boundary The alignment, not checked before necessary. * @param size The new allocation size, see `realloc` for more details. - * @param mode `REMEMALIGN_CLEAR`, `REMEMALIGN_INIT` or + * @param mode `REMEMALIGN_CLEAR`, `REMEMALIGN_INIT`, or * `REMEMALIGN_MEMCPY`, or both or neither. * @return The new allocation, see `realloc` for more details. * @@ -332,7 +332,7 @@ void* naive_extalloc(void*, size_t) /* sic! we limit ourself to ASCII */ * or one if it should not be aligned. * @param old_size The old allocation size, zero if a new shall be created. * @param new_size The new allocation size, zero if it shall be freed. - * @param mode `FALLOC_CLEAR`, `FALLOC_INIT` or `FALLOC_MEMCPY`, or + * @param mode `FALLOC_CLEAR`, `FALLOC_INIT`, or `FALLOC_MEMCPY`, or * both or neither. * @return The new pointer, or the old pointer if it was reallocated * without creating a new allocation. `NULL` is returned diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c index 918b1b4..604eff1 100644 --- a/src/slibc-alloc.c +++ b/src/slibc-alloc.c @@ -270,7 +270,7 @@ void* extalloc(void* ptr, size_t size, enum extalloc_mode mode) * @param ptr The old allocation, see `realloc` for more details. * @param boundary The alignment, not checked before necessary. * @param size The new allocation size, see `realloc` for more details. - * @param mode `REMEMALIGN_CLEAR`, `REMEMALIGN_INIT` or + * @param mode `REMEMALIGN_CLEAR`, `REMEMALIGN_INIT`, or * `REMEMALIGN_MEMCPY`, or both or neither. * @return The new allocation, see `realloc` for more details. * @@ -423,7 +423,7 @@ void* naive_extalloc(void* ptr, size_t size) * or one if it should not be aligned. * @param old_size The old allocation size, zero if a new shall be created. * @param new_size The new allocation size, zero if it shall be freed. - * @param mode `FALLOC_CLEAR`, `FALLOC_INIT` or `FALLOC_MEMCPY`, or + * @param mode `FALLOC_CLEAR`, `FALLOC_INIT`, or `FALLOC_MEMCPY`, or * both or neither. * @return The new pointer, or the old pointer if it was reallocated * without creating a new allocation. `NULL` is returned -- cgit v1.2.3-70-g09d2