summaryrefslogtreecommitdiff
path: root/test/malloc/tst-mcheck.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-24 07:43:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-24 07:43:50 +0100
commitd32bd8bb11f2644cbe35b396a7a40a7e359ceee9 (patch)
tree0d7136b149c23909c3e6b77baa9a0cc26e62d774 /test/malloc/tst-mcheck.c
parent21ec3389276c2bc407444c37b37c3edd223aed32 (diff)
obstack removed, glibc compat is gone
Diffstat (limited to 'test/malloc/tst-mcheck.c')
-rw-r--r--test/malloc/tst-mcheck.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/malloc/tst-mcheck.c b/test/malloc/tst-mcheck.c
index 9297d79..a24f471 100644
--- a/test/malloc/tst-mcheck.c
+++ b/test/malloc/tst-mcheck.c
@@ -53,11 +53,7 @@ main (void)
merror ("realloc (p, 0) failed.");
p = malloc (0);
-#if !defined(__UCLIBC__) || defined(__MALLOC_GLIBC_COMPAT__)
if (p == NULL)
-#else
- if (p != NULL)
-#endif
merror ("malloc (0) failed.");
p = realloc (p, 0);