From 23f01dcfd1b2d477fef163892a8a5586ca67e6e9 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 6 Nov 2011 08:16:11 +0000 Subject: [PATCH] Add missing static keywords to ministat(1) --- usr.bin/ministat/ministat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ministat/ministat.c b/usr.bin/ministat/ministat.c index 720922eb6674..3b51e408d27e 100644 --- a/usr.bin/ministat/ministat.c +++ b/usr.bin/ministat/ministat.c @@ -23,8 +23,8 @@ __FBSDID("$FreeBSD$"); #define NSTUDENT 100 #define NCONF 6 -double const studentpct[] = { 80, 90, 95, 98, 99, 99.5 }; -double student [NSTUDENT + 1][NCONF] = { +static double const studentpct[] = { 80, 90, 95, 98, 99, 99.5 }; +static double student[NSTUDENT + 1][NCONF] = { /* inf */ { 1.282, 1.645, 1.960, 2.326, 2.576, 3.090 }, /* 1. */ { 3.078, 6.314, 12.706, 31.821, 63.657, 318.313 }, /* 2. */ { 1.886, 2.920, 4.303, 6.965, 9.925, 22.327 },