From 0f8704ef6676f4d335b8bb2766c11183133c1fdf Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Sep 2015 17:13:41 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/slibc-alloc.c | 2 +- src/string/strchr.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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)`. */ /** -- cgit v1.2.3-70-g09d2