]> 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 2400d8369f951f7096f9e700a31ac59222eb36ce..6534d856dea28b4b00bf59333cb2d62918f15fe3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2001, 2002, 2003 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.
 
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 /* We always want assert to be fully defined.  */
 #undef NDEBUG
@@ -152,8 +151,8 @@ utf8_test (void)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -231,3 +230,6 @@ check_ascii (const char *locname)
 
   return res != 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"