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'},
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to