diff options
Diffstat (limited to 'testsuites/libtests/POSIX/malloc.c')
-rw-r--r-- | testsuites/libtests/POSIX/malloc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuites/libtests/POSIX/malloc.c b/testsuites/libtests/POSIX/malloc.c index 2f16bd3472..dc9ccca225 100644 --- a/testsuites/libtests/POSIX/malloc.c +++ b/testsuites/libtests/POSIX/malloc.c @@ -12,10 +12,9 @@ #include <stdlib.h> -int -main (void) +int main(void) { - void *ptr = malloc (42); + void *ptr = malloc(42); return (ptr != NULL); } |