Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 08:16:12 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227173 - head/usr.bin/ministat
Message-ID:  <201111060816.pA68GCle008706@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Nov  6 08:16:11 2011
New Revision: 227173
URL: http://svn.freebsd.org/changeset/base/227173

Log:
  Add missing static keywords to ministat(1)

Modified:
  head/usr.bin/ministat/ministat.c

Modified: head/usr.bin/ministat/ministat.c
==============================================================================
--- head/usr.bin/ministat/ministat.c	Sun Nov  6 08:16:06 2011	(r227172)
+++ head/usr.bin/ministat/ministat.c	Sun Nov  6 08:16:11 2011	(r227173)
@@ -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  },



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111060816.pA68GCle008706>