]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - wcsmbs/tst-wcrtomb.c
tunables: report sbrk() failure
[thirdparty/glibc.git] / wcsmbs / tst-wcrtomb.c
index 0b84c19149f475a473690f0525e87ae4f7572ae5..ad700385d18704fd78affc76545d24c665e82713 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 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/>.  */
 
 #include <locale.h>
 #include <stdio.h>
@@ -26,8 +26,8 @@
 static int check_ascii (const char *locname);
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -92,3 +92,5 @@ check_ascii (const char *locname)
 
   return res != 0;
 }
+
+#include <support/test-driver.c>