svn commit: r227163 - head/usr.bin/dc
Ed Schouten
ed at FreeBSD.org
Sun Nov 6 08:14:58 UTC 2011
Author: ed
Date: Sun Nov 6 08:14:57 2011
New Revision: 227163
URL: http://svn.freebsd.org/changeset/base/227163
Log:
Add missing static keywords to dc(1)
Modified:
head/usr.bin/dc/dc.c
Modified: head/usr.bin/dc/dc.c
==============================================================================
--- head/usr.bin/dc/dc.c Sun Nov 6 08:14:51 2011 (r227162)
+++ head/usr.bin/dc/dc.c Sun Nov 6 08:14:57 2011 (r227163)
@@ -39,9 +39,9 @@ static void usage(void);
extern char *__progname;
-struct source src;
+static struct source src;
-struct option long_options[] =
+static const struct option long_options[] =
{
{"expression", required_argument, NULL, 'e'},
{"file", required_argument, NULL, 'f'},
More information about the svn-src-head
mailing list