aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/strchr.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-03 17:13:41 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-03 17:13:41 +0200
commit0f8704ef6676f4d335b8bb2766c11183133c1fdf (patch)
tree61c83d4eb549da4a30aadea8e0ecf674b9b05155 /src/string/strchr.c
parentremove some todos (diff)
downloadslibc-0f8704ef6676f4d335b8bb2766c11183133c1fdf.tar.gz
slibc-0f8704ef6676f4d335b8bb2766c11183133c1fdf.tar.bz2
slibc-0f8704ef6676f4d335b8bb2766c11183133c1fdf.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/string/strchr.c1
1 files changed, 0 insertions, 1 deletions
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)`. */
/**