aboutsummaryrefslogtreecommitdiffstats
path: root/rawmemchr_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 /rawmemchr_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 'rawmemchr_inv.c')
-rw-r--r--rawmemchr_inv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rawmemchr_inv.c b/rawmemchr_inv.c
index 1df5817..d566aba 100644
--- a/rawmemchr_inv.c
+++ b/rawmemchr_inv.c
@@ -4,7 +4,7 @@
void *
-libsimple_rawmemchr_inv(const void *s_, int c_) /* TODO man */
+libsimple_rawmemchr_inv(const void *s_, int c_)
{
char *s = *(char **)(void *)&s_, c = (char)c_;
while (*s++ == c);