aboutsummaryrefslogtreecommitdiffstats
path: root/include/slibc-alloc.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-16 03:15:41 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-16 03:15:41 +0200
commit5a84afcff62784e288ab2cbbecf5a3141eea91d8 (patch)
tree3cc43bdd0ed552abaee353570e175e26d96ccfc2 /include/slibc-alloc.h
parentlimitations on allocsize (diff)
downloadslibc-5a84afcff62784e288ab2cbbecf5a3141eea91d8.tar.gz
slibc-5a84afcff62784e288ab2cbbecf5a3141eea91d8.tar.bz2
slibc-5a84afcff62784e288ab2cbbecf5a3141eea91d8.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/slibc-alloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/slibc-alloc.h b/include/slibc-alloc.h
index edc7cc7..18e7341 100644
--- a/include/slibc-alloc.h
+++ b/include/slibc-alloc.h
@@ -110,9 +110,9 @@ void* secure_realloc(void*, size_t)
/**
* This function behaves exactly like `fast_realloc`, except:
- * - Its haviour is undefined if `ptr` is `NULL`.
- * - Its haviour is undefined `size` equals the old allocation size.
- * - Its haviour is undefined if `size` is zero.
+ * - Its behaviour is undefined if `ptr` is `NULL`.
+ * - Its behaviour is undefined `size` equals the old allocation size.
+ * - Its behaviour is undefined if `size` is zero.
* - It will never free `ptr`.
*
* @param ptr The old allocation, see `realloc` for more details.