aboutsummaryrefslogtreecommitdiffstats
path: root/rawmemrchr_inv.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-24 15:26:17 +0100
committerMattias Andrée <maandree@kth.se>2018-11-24 15:26:17 +0100
commitce78c6d371f688ea7d6473f744fe7d09bf12121e (patch)
tree692c842ecf97f7c081f538f2b969cc5c1a8fc380 /rawmemrchr_inv.c
parentAdd tests for memelem{move,cpy} (diff)
downloadlibsimple-ce78c6d371f688ea7d6473f744fe7d09bf12121e.tar.gz
libsimple-ce78c6d371f688ea7d6473f744fe7d09bf12121e.tar.bz2
libsimple-ce78c6d371f688ea7d6473f744fe7d09bf12121e.tar.xz
Add man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'rawmemrchr_inv.c')
-rw-r--r--rawmemrchr_inv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rawmemrchr_inv.c b/rawmemrchr_inv.c
index 6c6b9db..c6a9b22 100644
--- a/rawmemrchr_inv.c
+++ b/rawmemrchr_inv.c
@@ -4,7 +4,7 @@
void *
-libsimple_rawmemrchr_inv(const void *s_, int c_, size_t n) /* TODO man */
+libsimple_rawmemrchr_inv(const void *s_, int c_, size_t n)
{
char *s = *(char **)(void *)&s_, c = (char)c_;
while (s[--n] == c);