diff options
author | Mattias Andrée <maandree@kth.se> | 2018-12-15 14:56:23 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-12-15 14:56:23 +0100 |
commit | d1122de6bb461e0448897869b4406300c12f259f (patch) | |
tree | 031bf1bdb887be786e5bb370c83eb52eef649ddc /test.c | |
parent | A bunch of stuff (diff) | |
download | libsimple-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |