about summary refs log tree commit diff
path: root/sysdeps/mips/tst-mode-switch-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/tst-mode-switch-3.c')
-rw-r--r--sysdeps/mips/tst-mode-switch-3.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/mips/tst-mode-switch-3.c b/sysdeps/mips/tst-mode-switch-3.c
index 65e2b5eebd..b0c76737fa 100644
--- a/sysdeps/mips/tst-mode-switch-3.c
+++ b/sysdeps/mips/tst-mode-switch-3.c
@@ -43,8 +43,8 @@ static jmp_buf env;
 float check1 = 2.0;
 double check2 = 3.0;
 
-int
-main (void)
+static int
+do_test (void)
 {
   int i;
   int result = 0;
@@ -88,3 +88,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../../test-skeleton.c"