]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdio-common/tst-sprintf3.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / stdio-common / tst-sprintf3.c
index d56f247310a20069ea1b0282153404a5da6320d1..cffd1b69d0dc6c44c090ed50f9a3c1d5a1b86115 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2016 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
@@ -22,8 +22,8 @@
 #include <stdio.h>
 #include <string.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
 #if LDBL_MANT_DIG >= 106
   volatile union { long double l; long long x[2]; } u, v;
@@ -88,3 +88,6 @@ main (void)
 #endif
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"