aboutsummaryrefslogtreecommitdiffstats
path: root/enstrndup.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-29 00:35:12 +0200
committerMattias Andrée <maandree@kth.se>2018-08-29 00:35:12 +0200
commitac15d5da43275997dc871fc1128c6d01c3c5a4cc (patch)
tree0ff763e83f1541610329a825079eb78a8b3a9b87 /enstrndup.c
parentWarn about unran tests under valgrind (diff)
downloadlibsimple-ac15d5da43275997dc871fc1128c6d01c3c5a4cc.tar.gz
libsimple-ac15d5da43275997dc871fc1128c6d01c3c5a4cc.tar.bz2
libsimple-ac15d5da43275997dc871fc1128c6d01c3c5a4cc.tar.xz
Add tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--enstrndup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enstrndup.c b/enstrndup.c
index 8803a99..367ab3c 100644
--- a/enstrndup.c
+++ b/enstrndup.c
@@ -4,7 +4,7 @@
char *
-libsimple_enstrndup(int status, const char *s, size_t n) /* TODO test */
+libsimple_enstrndup(int status, const char *s, size_t n) /* TODO test (libsimple_estrndup) */
{
void *ret = strndup(s, n);
if (!ret)