summaryrefslogtreecommitdiffstats
path: root/usr.bin/dc
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:14:57 +0000
committered <ed@FreeBSD.org>2011-11-06 08:14:57 +0000
commit62515a1ff39c07062f172126a5436e25888e638e (patch)
treed07c449f5957f13e38c1f7c5d58b6912f938a8c0 /usr.bin/dc
parent91ffce3875e4d2288b54ce487fc56b925546b147 (diff)
downloadFreeBSD-src-62515a1ff39c07062f172126a5436e25888e638e.zip
FreeBSD-src-62515a1ff39c07062f172126a5436e25888e638e.tar.gz
Add missing static keywords to dc(1)
Diffstat (limited to 'usr.bin/dc')
-rw-r--r--usr.bin/dc/dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dc/dc.c b/usr.bin/dc/dc.c
index 47315cc..d5edadb 100644
--- a/usr.bin/dc/dc.c
+++ b/usr.bin/dc/dc.c
@@ -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'},
OpenPOWER on IntegriCloud