aboutsummaryrefslogtreecommitdiff
path: root/lib/msun/tests/fmaxmin_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/tests/fmaxmin_test.c')
-rw-r--r--lib/msun/tests/fmaxmin_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/msun/tests/fmaxmin_test.c b/lib/msun/tests/fmaxmin_test.c
index 24056b0ea223..581fc25467d7 100644
--- a/lib/msun/tests/fmaxmin_test.c
+++ b/lib/msun/tests/fmaxmin_test.c
@@ -61,7 +61,7 @@ __FBSDID("$FreeBSD$");
} \
} while (0)
-int
+static int
testall_r(long double big, long double small)
{
int ok;
@@ -86,14 +86,14 @@ testall_r(long double big, long double small)
return (ok);
}
-const char *comment = NULL;
+static const char *comment = NULL;
/*
* Test all the functions: fmaxf, fmax, fmaxl, fminf, fmin, and fminl,
* in all rounding modes and with the arguments in different orders.
* The input 'big' must be >= 'small'.
*/
-void
+static void
testall(int testnum, long double big, long double small)
{
static const int rmodes[] = {
@@ -122,7 +122,7 @@ testall(int testnum, long double big, long double small)
#endif
int
-main(int argc, char *argv[])
+main(void)
{
printf("1..12\n");