svn commit: r228417 - head/sbin/bsdlabel

Ed Schouten ed at FreeBSD.org
Sun Dec 11 19:28:04 UTC 2011


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;
 


More information about the svn-src-all mailing list