Author: ed
Date: Sun Dec 11 19:28:04 2011
New Revision: 228417
URL: http://svn.freebsd.org/changeset/base/228417

Log:
  Add missing static keyword.
  
  All global variables and functions are marked static. Simply because
  this is an enum, doesn't mean we can't do so as well.

Modified:
  head/sbin/bsdlabel/bsdlabel.c

Modified: head/sbin/bsdlabel/bsdlabel.c
==============================================================================
--- head/sbin/bsdlabel/bsdlabel.c       Sun Dec 11 19:22:42 2011        
(r228416)
+++ head/sbin/bsdlabel/bsdlabel.c       Sun Dec 11 19:28:04 2011        
(r228417)
@@ -130,7 +130,7 @@ static int labelsoffset = LABELSECTOR;
 static int labeloffset = LABELOFFSET;
 static int bbsize = BBSIZE;
 
-enum   {
+static enum {
        UNSPEC, EDIT, READ, RESTORE, WRITE, WRITEBOOT
 } op = UNSPEC;
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to