diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-09-03 17:13:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-09-03 17:13:41 +0200 |
commit | 0f8704ef6676f4d335b8bb2766c11183133c1fdf (patch) | |
tree | 61c83d4eb549da4a30aadea8e0ecf674b9b05155 /src | |
parent | remove some todos (diff) | |
download | slibc-0f8704ef6676f4d335b8bb2766c11183133c1fdf.tar.gz slibc-0f8704ef6676f4d335b8bb2766c11183133c1fdf.tar.bz2 slibc-0f8704ef6676f4d335b8bb2766c11183133c1fdf.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/slibc-alloc.c | 2 | ||||
-rw-r--r-- | src/string/strchr.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/slibc-alloc.c b/src/slibc-alloc.c index 08e6209..ce271b5 100644 --- a/src/slibc-alloc.c +++ b/src/slibc-alloc.c @@ -181,7 +181,7 @@ void* secure_realloc(void* ptr, size_t size) */ void* naive_realloc(void* ptr, size_t size) { - /* TODO improve implementation of naive_realloc */ + /* TODO implementation of naive_realloc with reallocation */ return malloc(size); (void) ptr; } diff --git a/src/string/strchr.c b/src/string/strchr.c index 2b49c2e..e046ea7 100644 --- a/src/string/strchr.c +++ b/src/string/strchr.c @@ -104,7 +104,6 @@ char* strchr(const char* string, int c) else if (!*string++) return NULL; } -/* TODO Ensure that `s = strchr(s, 0)` is faster than `s = s + strlen(s)`. */ /** |