diff options
Diffstat (limited to '')
-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)`. */ /** |