diff options
Diffstat (limited to 'malloc/tst-calloc.c')
-rw-r--r-- | malloc/tst-calloc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/malloc/tst-calloc.c b/malloc/tst-calloc.c index 51e6c25ebf..7ad51246a3 100644 --- a/malloc/tst-calloc.c +++ b/malloc/tst-calloc.c @@ -104,8 +104,8 @@ null_test (void) } -int -main (void) +static int +do_test (void) { /* We are allocating blocks with `calloc' and check whether every block is completely cleared. We first try this for some fixed @@ -123,3 +123,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |