summaryrefslogtreecommitdiff
path: root/stdlib/tst-strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtod.c')
-rw-r--r--stdlib/tst-strtod.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c
index a469208a49..3476a57b51 100644
--- a/stdlib/tst-strtod.c
+++ b/stdlib/tst-strtod.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-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
@@ -81,8 +81,8 @@ static void expand (char *dst, int c);
static int long_dbl (void);
static int locale_test (void);
-int
-main (int argc, char ** argv)
+static int
+do_test (void)
{
char buf[100];
const struct ltest *lt;
@@ -182,9 +182,7 @@ main (int argc, char ** argv)
}
static void
-expand (dst, c)
- char *dst;
- int c;
+expand (char *dst, int c)
{
if (isprint (c))
{
@@ -276,3 +274,6 @@ locale_test (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"