diff options
-rw-r--r-- | include/slibc-alloc.h | 4 | ||||
-rw-r--r-- | 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 |