diff options
Diffstat (limited to 'malloc/tst-mallocstate.c')
-rw-r--r-- | malloc/tst-mallocstate.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/malloc/tst-mallocstate.c b/malloc/tst-mallocstate.c index 69c4500b85..539539ed03 100644 --- a/malloc/tst-mallocstate.c +++ b/malloc/tst-mallocstate.c @@ -29,8 +29,8 @@ merror (const char *msg) printf ("Error: %s\n", msg); } -int -main (void) +static int +do_test (void) { void *p1, *p2; void *save_state; @@ -79,3 +79,6 @@ main (void) * c-basic-offset: 2 * End: */ + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |