aboutsummaryrefslogtreecommitdiffstats
path: root/include/slibc-alloc.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-18 21:07:45 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-18 21:13:56 +0200
commit91e3d6789f4563e777ccc2d88b82e80b9cf077c2 (patch)
tree7d1c30c237ead206d6bfe93207bf50c1845aa85a /include/slibc-alloc.h
parentdoc typo (diff)
downloadslibc-91e3d6789f4563e777ccc2d88b82e80b9cf077c2.tar.gz
slibc-91e3d6789f4563e777ccc2d88b82e80b9cf077c2.tar.bz2
slibc-91e3d6789f4563e777ccc2d88b82e80b9cf077c2.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/slibc-alloc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/slibc-alloc.h b/include/slibc-alloc.h
index d493197..de99727 100644
--- a/include/slibc-alloc.h
+++ b/include/slibc-alloc.h
@@ -292,8 +292,8 @@ void* naive_extalloc(void*, size_t) /* sic! we limit ourself to ASCII */
/**
* Allocates, deallocates, or reallocates memory without
- * bookkeeping. The created allocation may not be inspecifed,
- * deallocated or reallocated with any other function than
+ * bookkeeping. The created allocation may not be inspected,
+ * deallocated, or reallocated with any other function than
* this function.
*
* If `new_size` is zero and `ptr` is `NULL`,
@@ -323,11 +323,11 @@ void* naive_extalloc(void*, size_t) /* sic! we limit ourself to ASCII */
* entire allocation will be cleared.
*
* @param ptr The old pointer, `NULL` if a new shall be created.
- * @param ptrshift Pointer that is used to keep track of the pointers
+ * @param ptrshift Pointer that is used to keep track of the pointer's
* shift for alignment. `NULL` if the shift shall not
* be tracked. If this is the case, `falloc` cannot
* be used to reallocate or deallocate an allocation,
- * unless the pointer is unaligned (`alignment <= 0`).
+ * unless the pointer is unaligned (`alignment <= 1`).
* @param alignment The aligment of both the new and old pointer, zero
* or one if it should not be aligned.
* @param old_size The old allocation size, zero if a new shall be created.