diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-16 03:15:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-16 03:15:41 +0200 |
commit | 5a84afcff62784e288ab2cbbecf5a3141eea91d8 (patch) | |
tree | 3cc43bdd0ed552abaee353570e175e26d96ccfc2 | |
parent | limitations on allocsize (diff) | |
download | slibc-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.h | 6 | ||||
-rw-r--r-- | src/slibc-alloc.c | 6 |
2 files changed, 6 insertions, 6 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. diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c index 743597e..b1d0889 100644 --- a/src/slibc-alloc.c +++ b/src/slibc-alloc.c @@ -173,9 +173,9 @@ void* secure_realloc(void* ptr, size_t size) /** * 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. |