aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-12-15 14:56:23 +0100
committerMattias Andrée <maandree@kth.se>2018-12-15 14:56:23 +0100
commitd1122de6bb461e0448897869b4406300c12f259f (patch)
tree031bf1bdb887be786e5bb370c83eb52eef649ddc /test.c
parentA bunch of stuff (diff)
downloadlibsimple-d1122de6bb461e0448897869b4406300c12f259f.tar.gz
libsimple-d1122de6bb461e0448897869b4406300c12f259f.tar.bz2
libsimple-d1122de6bb461e0448897869b4406300c12f259f.tar.xz
More tests and fix attributes on wcsndup
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test.c')
-rw-r--r--test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.c b/test.c
index 01100e8..5297987 100644
--- a/test.c
+++ b/test.c
@@ -229,11 +229,13 @@ strndup(const char *s, size_t n)
}
+#if 0
void *
memdup(const void *s, size_t size)
{
return libsimple_memdup(s, size);
}
+#endif
wchar_t *
@@ -250,6 +252,7 @@ wcsdup(const wchar_t *s)
}
+#if 0
wchar_t *
wcsndup(const wchar_t *s, size_t n)
{
@@ -262,6 +265,7 @@ wmemdup(const wchar_t *s, size_t n)
{
return libsimple_wmemdup(s, n);
}
+#endif
void