]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - wcsmbs/tst-mbrtowc.c
[powerpc] No need to enter "Ignore Exceptions Mode"
[thirdparty/glibc.git] / wcsmbs / tst-mbrtowc.c
index 3e1eb728e81bde04f8c0b4258b15cc99089d682d..6534d856dea28b4b00bf59333cb2d62918f15fe3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2000.
 
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 /* We always want assert to be fully defined.  */
 #undef NDEBUG
@@ -151,8 +151,8 @@ utf8_test (void)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -230,3 +230,6 @@ check_ascii (const char *locname)
 
   return res != 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"