diff options
Diffstat (limited to 'sysdeps/mips/tst-mode-switch-2.c')
-rw-r--r-- | sysdeps/mips/tst-mode-switch-2.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/mips/tst-mode-switch-2.c b/sysdeps/mips/tst-mode-switch-2.c index b41acf45d3..2f63e7ff8e 100644 --- a/sysdeps/mips/tst-mode-switch-2.c +++ b/sysdeps/mips/tst-mode-switch-2.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2014-2016 Free Software Foundation, Inc. +/* Copyright (C) 2014-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -77,8 +77,8 @@ thread_function (void * arg __attribute__ ((unused))) return NULL; } -int -main (void) +static int +do_test (void) { int count = sysconf (_SC_NPROCESSORS_ONLN); if (count <= 0) @@ -161,3 +161,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../../test-skeleton.c" |