aboutsummaryrefslogtreecommitdiffstats
path: root/src/slibc-alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slibc-alloc.c')
-rw-r--r--src/slibc-alloc.c4
1 files changed, 2 insertions, 2 deletions
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