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